mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Change library.caches.refresh to respect search restrictions. Fixes problem where library shows all books after 'managing' something from the tag browser.
This commit is contained in:
parent
087189f7fe
commit
e96acc92b7
@ -542,6 +542,8 @@ class ResultCache(SearchQueryParser):
|
||||
if field is not None:
|
||||
self.sort(field, ascending)
|
||||
self._map_filtered = list(self._map)
|
||||
if self.search_restriction:
|
||||
self.search('', return_matches=False, ignore_search_restriction=False)
|
||||
|
||||
def seriescmp(self, sidx, siidx, x, y, library_order=None):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user