CottageLabs/cl

News stories on /news to be date ordered

Closed this issue · 3 comments

The news stories on the /news page seem to be randomly ordered, but they would be more comprehensibly ordered by date. Perhaps I can fix this myself with the search settings ...

yes search is going to be defaulted to date order, but you can also customise it in the search settings.

all queries now default to descending date order if no sort order is provided. This may be removed from /query routing though, as could be off-putting. but will leave there for now. Should perhaps put a sort order field option in the page settings

defaulting all queries to order has been pulled out to a config setting. web.py has been updated to set sort order from what is received from page settings.