From 454016e6bf46c03706230e3e6c78d4d8ecb4f65a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 13 Aug 2013 13:11:18 +0530 Subject: [PATCH] Remove invalid entries from sort menu --- src/calibre/gui2/actions/sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/actions/sort.py b/src/calibre/gui2/actions/sort.py index c959b0e45e..6fa25b263c 100644 --- a/src/calibre/gui2/actions/sort.py +++ b/src/calibre/gui2/actions/sort.py @@ -63,7 +63,7 @@ class SortByAction(InterfaceAction): self._sactions = [] for name in sorted(name_map, key=sort_key): key = name_map[name] - if key == 'title': + if key in {'title', 'series_sort', 'formats', 'path'}: continue if key == 'sort': name = _('Title')