![]() |
#1 |
Nameless Being
|
Custom Colunm Yes/No
![]() I have a colunmn called To Read Lookup name toread Yes/No when I do a search. #toread:yes shows all books marked yes #toread:checked shows all books marked yes #toread:true shows all books marked yes #toread:no shows all books marked no and undefined #toread:unchecked shows all books marked no and undefined #toread:false shows all books marked no and undefined This happens with all my custom columns that are Yes/No How do I get it to show me just the ones marked no |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,897
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
question for you: Do you have the tweak set for Yes/No to be Tri-state?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Nameless Being
|
Do you mean the one in Teaks/Plugin tweaks
bool_custom_columns_are_tristate = 'yes' The 'yes' is greyed Have changed it to no Still the same |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,336
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You found a bug, introduced in 0.7.55. Searching incorrectly checks the new tristate preference, reversing its meaning. Thus, searching in tristate columns (ones with undefined values) incorrectly makes undefined and false into equivalent values.
A fix has been submitted, and should be in the next release. Until the next release, the only workaround that I can think of is to create another custom column 'made from other columns'. Use {#boolcol} as the template, replacing #boolcol with the lookup name of your column. Set the search type to text. Search for 'Yes' to see true values, search for 'No' to see set-to-false values, and search for false to see undefined values. |
![]() |
![]() |
![]() |
#5 |
Nameless Being
|
Thanks for the replies
Will wait for the next release |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can custom book data be displayed in a custom column? | kiwidude | Development | 9 | 03-02-2011 05:35 AM |
0.7.46 and custom columns | meme | Library Management | 4 | 02-21-2011 04:21 AM |
Custom Recipe | CABITSS | Introduce Yourself | 2 | 09-22-2009 10:30 AM |
Custom Recipe | CABITSS | Calibre | 3 | 09-22-2009 10:29 AM |
Custom charge? | daoshi | iRex | 3 | 10-06-2008 06:47 PM |