[Koha] Boolean operator AND shows up as highlighted term

Robin Sheat robin at catalyst.net.nz
Thu Jul 11 05:04:20 NZST 2013


Op 10/07/13 17:59, Elaine Bradtke schreef:
> At first glance, I was worried it was actually searching on 'and' but have
> tested it with a few biblios that don't have and in any form in them (not
> easy to find!).  It only looks as if it's searching on 'and'.

Basically the highlighting code is pretty simple and just searches
through the results looking for strings that match what you have as
search terms. It's not actually a reflection on what was actually
searched, just a visual cue for people looking at the results.

If you have a concrete idea for how it might be improved (keeping in
mind that things like 'and' aren't always a boolean term), feel free to
file a bug. But beware that going beyond much that's trivial will
probably be more complex than it's worth.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D


More information about the Koha mailing list