[Koha-bugs] [Bug 12738] Search behaviour inconsistent with QueryParser on Perl 5.18
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Aug 10 17:16:49 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12738
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30633|0 |1
is obsolete| |
Attachment #30634|0 |1
is obsolete| |
--- Comment #6 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 30658
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30658&action=edit
[PASSED QA] Bug 12738: (regression tests) C4::Context should set keyword search
as default for QueryParser
This patch introduces tests for the QueryParser PQF driver usage in Koha.
Specifically its
initialization on C4::Context, and initial setup.
It also introduces a .pl script that is used to load C4::Context with different
hash randomization
seeds on purpose, to verify the initialization result is deterministic and
consistent between
runs.
To test:
$ prove -v t/db_dependent/QueryParser.t
It should fail because different default_search_class is set on each run, and
it is not often the
one we expect.
Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list