sort docs by date
This commit is contained in:
parent
7980cd5aaf
commit
b4dad19e49
|
@ -51,7 +51,8 @@ class SimpleSearchView(BrowserView):
|
|||
portal_type=['tabellio.documents.dossier',
|
||||
'tabellio.documents.document',
|
||||
'tabellio.documents.question'],
|
||||
SearchableText=self.request.form.get('SearchableText'))
|
||||
SearchableText=self.request.form.get('SearchableText'),
|
||||
sort_on='dateDoc', sort_order='descending')
|
||||
|
||||
def event_results(self):
|
||||
catalog = getToolByName(self.context, 'portal_catalog')
|
||||
|
|
Reference in New Issue