View Single Post
Old 07-13-2012, 04:17 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,103
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ficbot View Post
I am having trouble figuring out how to do a search for a non-text field type. The text ones I can search using the tag browser, but the yes/no fields do not show up there. I want to set up some saved searches to easily find certain things and I can't do it. For instance:

- I have a field for free books which is yes/no (e.g. if the book is free, I choose yes for it). I want to know what to put in the search box so I can pull up a subset of only the free books.

- I have another field for public domain books which is yes/no (if it is a public domain title, I choose yes for it) and I want to make a saved search for these as well. What to put in the search box?

Any advice appreciated.
Code:
#customfielname:true and not #customfieldname: true
we use the Not construct because the tri-state field. False and undefined are treated as False in the search

remember the # must be included for any custom field name used in searches
theducks is offline   Reply With Quote