fix sorting on session
This commit is contained in:
parent
0e480c0526
commit
389a2e4f3d
|
@ -542,6 +542,9 @@ class SearchView(BrowserView):
|
|||
elif data.get('sort_on') == 'Number':
|
||||
kw['sort_on'] = 'no'
|
||||
kw['sort_order'] = 'ascending'
|
||||
elif data.get('sort_on') == 'Session':
|
||||
kw['sort_on'] = 'session'
|
||||
kw['sort_order'] = 'descending'
|
||||
|
||||
if not kw and not data.get('text'):
|
||||
return []
|
||||
|
|
Reference in New Issue