mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove invalid entries from sort menu
This commit is contained in:
parent
2d394c6b6e
commit
454016e6bf
@ -63,7 +63,7 @@ class SortByAction(InterfaceAction):
|
|||||||
self._sactions = []
|
self._sactions = []
|
||||||
for name in sorted(name_map, key=sort_key):
|
for name in sorted(name_map, key=sort_key):
|
||||||
key = name_map[name]
|
key = name_map[name]
|
||||||
if key == 'title':
|
if key in {'title', 'series_sort', 'formats', 'path'}:
|
||||||
continue
|
continue
|
||||||
if key == 'sort':
|
if key == 'sort':
|
||||||
name = _('Title')
|
name = _('Title')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user