Quote:
Originally Posted by CWatkinsNash
Timely response, as my solution is no longer working after 0.7.48 update. I was able to fix it by changing the search to:
not #read_status:"=Yes"
Different syntax for accomplishing the same thing. It kind of freaked me out at first - I spent a bit of time updating calibre, then installing it on the new computer and syncing the library between them, only to start it and see no books on either computer. Then I realized it was only that the restricted view was returning no results.
|
That search (not #read_status:"=Yes") won't work for a yes/no column. You must not use the equals sign. The quotes are unnecessary, but they don't hurt anything.
The search rules are:
1) booleans are tristate (the tweak is not changed)
a) You can look for empty values with any of:
#colname:empty (as translated)
#colname:blank (as translated)
#colname:_empty (not translated)
#colname:false (not translated)
b) You can look for 'false' values (red X) with any of:
#colname:no (as translated)
#colname:unchecked (as translated)
#colname:_no (not translated)
#colname:true (not translated)
c) You can look for 'true' values (green check) with any of:
#colname:yes (as translated)
#colname:checked (as translated)
#colname:_yes (not translated)
#colname:true (not translated)
Note that #colname:true finds both red X and green check. That is because a search for true means search for 'set to something'.
2) booleans are NOT tristate (the tweak has been changed)
a) You can look for 'false' values (red X) or empty values with any of:
#colname:no (as translated)
#colname:unchecked (as translated)
#colname:_no (not translated)
#colname:false (not translated)
b) You can look for 'true' values (green check) with any of:
#colname:yes (as translated)
#colname:checked (as translated)
#colname:_yes (not translated)
#colname:true (not translated)