Topic: Searching with AND op, doesn't work ?
It looks that bool ops don't work, is it a bug or do i miss something ?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 bug reports → Searching with AND op, doesn't work ?
It looks that bool ops don't work, is it a bug or do i miss something ?
Hmm, you are correct. It doesn't appear to be working at all. I'll have a look at it first thing tomorrow. I'm heading out for the evening :)
Any simple fix ?
Trawl the forums looking for what you want :up:
Could you please point me to a possible answer. I couldn't find anything related.
Do a search :D
If Rickard says he'll look into it, then it will most likely be incorporated into the next release of Pun.
I don't remember on this before so perhaps there isn't a quickfix going.
Thanks Joey
I'm going to investigate it right now.
Fixed it! Here's a quickfix. Open up search.php and go to line 191. There, replace
if ($word != 'and' || $word != 'or' || $word != 'not')
with
if ($word != 'and' && $word != 'or' && $word != 'not')
Thank you, come again [/apu]
Thanks Rickard, i'll give it a try soon
PunBB Forums → PunBB 1.2 bug reports → Searching with AND op, doesn't work ?
Powered by PunBB, supported by Informer Technologies, Inc.