You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 build_form function in speeches/search.py, and alter sqs to add .order_by('-start_date') to it, which should do what you ask. If you cannot do that, you will have to wait until we or someone else has the time to implement it.
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: