bugfix - fix 'not' operator in NoZebra
authorGalen Charlton <galen.charlton@liblime.com>
Wed, 14 May 2008 22:09:43 +0000 (17:09 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 16 May 2008 13:18:25 +0000 (08:18 -0500)
commit496b6c8ef447aa16442d7cf82a014847cd0ee77f
tree142062c26e8359f51caa3b474cb0ddd34ca7389f
parentc6d507f8a9a3a7851c3f74073ef8442146b8dc82
bugfix - fix 'not' operator in NoZebra

Corrected bug that prevented the 'not' operator
from working consistently - i.e., a search of
'mice not men' would not always work.

Also added test cases for NoZebra, so far focusing on
NZanalyse and adding and deleting bibs.  A couple of
the test cases are currently known to fail and
therefore are marked TODO.  The tests in question
are to verify that rows in nozebra are removed if
no bib is linked to the relevant word.  However, it
looks like such rows are retained, just with
nozebra.biblionubmers set to ''.  Is there any
reason to keep these rows?

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Search.pm
t/lib/KohaTest/Search/NoZebra.pm [new file with mode: 0644]