[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
Fri Aug 8 17:12:03 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12738
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 30630
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30630&action=edit
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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list