How to override search results sort order in Plone -
plone search functionality implemented in plone.app.search package; sort_on variable included in request used control sort order of results on search template . by default, when variable has no value, plone uses relevance sort order. what's easiest way of changing date (newest first) ? you'll need customize search view set new sorting options, , alter default sort when no sort has been set. if still need able sort relevance, use non-empty value change in filter_query method: from plone.app.search.browser import _, search, sortoption class mycustomsearch(search): def filter_query(self, query): query = super(mycustomsearch, self).filter_query(query) if 'sort_on' not in query: # explicitly set sort; if no `sort_on` present, catalog sorts relevance query['sort_on'] = 'effectivedate' query['sort_order'] = 'reverse' elif query['sort_on'] == 'r...