]> git.evergreen-ils.org Git - Evergreen.git/commit
Use the centralized initialization method for QP
authorMike Rylander <mrylander@gmail.com>
Tue, 11 Jun 2013 20:44:35 +0000 (16:44 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 13 Jun 2013 02:12:55 +0000 (22:12 -0400)
commitda4074de8135d671cfb742983ae492e9c83c238a
treeda3b9eaf90ee7851516e21dd09852f70518c0a21
parentb14ece4977475d990e13069168d37b0625194e1c
Use the centralized initialization method for QP

QueryParser maintains an effective singleton for internal configuration of
the driver in order to avoid going to the database on every search request
to gather configuration parameters.  There is also a centralized sub that
has the task of properly configuring said singleton.  Previous to this commit
we were not using that centralized initializer in one case, and that case
happened to be the most important initialization of QP in all of Evergreen.
The fallout from that was that some configuration was not being gathered
and passed to QueryParser, resulting in incorrect search SQL being generated.

This is rectified by using the centralized initializer everywhere that it
is needed and can be used -- and particularly in the effected case.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm