mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
/browse: Make series sorting descending
This commit is contained in:
parent
40d35ff9f7
commit
9beeea57b1
@ -464,7 +464,8 @@ class BrowseServer(object):
|
||||
sort = 'title'
|
||||
self.sort(items, 'title', True)
|
||||
if sort != 'title':
|
||||
ascending = fm[sort]['datatype'] not in ('rating', 'datetime')
|
||||
ascending = fm[sort]['datatype'] not in ('rating', 'datetime',
|
||||
'series')
|
||||
self.sort(items, sort, ascending)
|
||||
return sort
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user