mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-30 04:43:19 +02:00
Fix 807262: true/false searches don't work on device views.
This commit is contained in:
parent
f01ff5531a
commit
231c0a4bbf
1 changed files with 2 additions and 2 deletions
|
|
@ -950,11 +950,11 @@ def get_matches(self, location, query):
|
|||
for locvalue in locations:
|
||||
accessor = q[locvalue]
|
||||
if query == 'true':
|
||||
if accessor(row) is not None:
|
||||
if accessor(row):
|
||||
matches.add(index)
|
||||
continue
|
||||
if query == 'false':
|
||||
if accessor(row) is None:
|
||||
if not accessor(row):
|
||||
matches.add(index)
|
||||
continue
|
||||
if locvalue == 'inlibrary':
|
||||
|
|
|
|||
Loading…
Reference in a new issue