View Single Post
Old 11-06-2010, 04:27 AM   #45
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,506
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ldolse View Post
I'm not sure if it's doing the boolean logic, or if the boolean logic is just broken when combining 'and' and 'not', as this particular test didn't work:
Code:
testvalue and not tags:=Nopub
For this the search returned books with testvalue that were also tagged Nopub.
I can't repeat this. For example, on the demo library, if I enter
Code:
classics and not tags:=Tragedies
I get what I expect -- the classics minus the Tamburlaine books.

There is a problem with searching for values containing a ':', but your example doesn't have one.

One thing I am concerned about is unicode. PHP doesn't do a good job with multi-byte character comparison. If one of the characters in the tag is for some reason double-byte, or if a character in the search box is double-byte, then the match won't happen.

Does searching for 'tags:=NoPub' get you what you expect?
chaley is offline   Reply With Quote