You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "janhoy (via GitHub)" <gi...@apache.org> on 2024/07/15 23:40:56 UTC
[PR] Sort blog posts reverse date [solr-site]
janhoy opened a new pull request, #115:
URL: https://github.com/apache/solr-site/pull/115
I noticed when testing the latest PR #114 locally that the post, dated July 15th, sorted above the existing July 1st post. It is since the template explicitly sorts by the english surface form of the date. Here is a small patch that sorts by reverse of the plain file listing, which already contains the date...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] Sort blog posts reverse date [solr-site]
Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy merged PR #115:
URL: https://github.com/apache/solr-site/pull/115
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] Sort blog posts reverse date [solr-site]
Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy commented on PR #115:
URL: https://github.com/apache/solr-site/pull/115#issuecomment-2251510832
Slight change that sorts by the date metadata object. This is auto generated from file name by Pelican, so now we'll get a build exception if there is no date in the file name. Otherwise, result is same as sorting by file name.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org