handle sort_on key
This commit is contained in:
parent
a5866fc8b8
commit
dc2d148d3a
|
@ -541,6 +541,10 @@ class IGlobalSearchForm(interface.Interface):
|
|||
value_type=schema.Choice(required=False,
|
||||
source=possible_topics));
|
||||
|
||||
sort_on = schema.Choice(title=_(u'Sort By'), required=False,
|
||||
default=_(u'Type'),
|
||||
values=[_(u'Type'), _(u'Number'), _(u'Session')])
|
||||
|
||||
|
||||
class GlobalSearchForm(form.Form):
|
||||
fields = field.Fields(IGlobalSearchForm)
|
||||
|
|
Reference in New Issue