mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
746c268928
commit
c16d95877e
@ -342,7 +342,7 @@ class View(object):
|
||||
self.cache.clear_caches()
|
||||
if field is not None:
|
||||
self.sort(field, ascending)
|
||||
if do_search and self.search_restriction or self.base_restriction:
|
||||
if do_search and (self.search_restriction or self.base_restriction):
|
||||
self.search('', return_matches=False)
|
||||
|
||||
def refresh_ids(self, ids):
|
||||
|
Loading…
x
Reference in New Issue
Block a user