Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a simple way to let the user sort the search result by Published date instead of relevance?
I'm think you can change the sorting in the XSLTsearch.xslt. Find this line (around line 321):
<xsl:sort select="substring-before(substring-after($pageScoreList, concat(';',generate-id(.),'=')),';')" data-type="number" order="descending"/>
I'm pretty sure you can just change this line to something like this:
<xsl:sort data-type="text" select="@updateDate" order="descending" />
I haven't tried it, but I think it will work :)
Kim's advice is exactly what I would try. Basically, you want to ignore all the page ranking and sort on the appropriate field instead (@createDate or @updateDate probably).
Let us know how you get on with it.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted