Bugfix for empty words
authorPaul POULAIN <paul@koha-fr.org>
Fri, 12 Oct 2007 22:35:23 +0000 (17:35 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sat, 13 Oct 2007 03:21:07 +0000 (22:21 -0500)
commit345eaeb7256bd35ecb8d2ca0a7d9fc1105882209
tree684e4bae85133bfca7b4c6213b6567fb7760803c
parent9f58a48ef2e50cc4e969f73375467636939a9047
Bugfix for empty words

The \b consider only ASCCI as letter. So diacritics are considered as non word.
and a word like leçon is splitted in 2, "le" is empty word, and the search is done
on çon (which is not french [1], so has no result)

[1] con (without the cedilla) is a french word, but I won't tell you what it means...
anyway, there are probably no "con" in most catalogues ;-)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Search.pm