sort deputies by name
This commit is contained in:
parent
febb170c84
commit
a325f8877c
|
@ -29,7 +29,8 @@ class SearchForm(form.Form):
|
|||
return []
|
||||
return catalog(
|
||||
portal_type=['themis.datatypes.deputy'],
|
||||
SearchableText=data.get('SearchableText'))
|
||||
SearchableText=data.get('SearchableText'),
|
||||
sort_on="sortable_title", sort_order='ascending', sort_limit=20)
|
||||
|
||||
def page_results(self):
|
||||
catalog = getToolByName(self.context, 'portal_catalog')
|
||||
|
|
Reference in New Issue