-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show search result most recent first #489
Comments
The search orders by relevance by default, because we don't know if you will have customised your search engine to return results in an order that you have changed in some fashion for your particular installation. I agree it should have a "sort by recent" option, similar to what we have on TheyWorkForYou. Then we would need a way for someone to specify if they wanted that ordering by default. |
i havent customization in search engine, please teach me how custom "sort by recent" option, tnks |
The best solution would be for you to implement this for all users of the code and submit it to us as a pull request. You would need to add an element to the form on a search results page allowing people to switch sort by recent/relevance, and pass that form entry to the search engine. This will involve you learning how to do it. If you do not want to implement it in a full manner that will help other users of the code, then you can find the |
Example:
http://concejodemedellin.felipeurrego.com/search/?q=prado
18 de Junio de 2013 first
http://concejodemedellin.felipeurrego.com/search/?page=24&q=prado
19 de Julio de 2014 last
The text was updated successfully, but these errors were encountered: