Bug 10766: unbreak reservoir search when UseQueryParser is OFF
authorGalen Charlton <gmc@esilibrary.com>
Mon, 19 Aug 2013 18:22:00 +0000 (18:22 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 13 Sep 2013 15:46:45 +0000 (12:46 -0300)
commit0de2e0b55876fa6de5efb981972c064c7aa5a75e
treea365c16d7b484ebf23152be33c7f81e87d4058ed
parent7daec54dc80f2d1f7c3ea8b55416e18082c8f3fb
Bug 10766: unbreak reservoir search when UseQueryParser is OFF

To test:

[1] Turn UseQueryParser off.
[2] Ensure that your database has records in the reservoir.  Performing
    a Z39.50 search will do this.
[3] Perform a broad cataloging (i.e., cataloguing/addbooks.pl search).
    Note that results are returned from the main catalog but that no
    reservoir results are returned.
[4] Apply the patch.
[5] Perform the search again.  This time, there should be both catalog
    and reservoir results.
[7] Enable QueryParser.  Perform the search again, and verify that the
    catalog and reservoir results are the same.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch works nicely, passes all tests, and the QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 4309e5e6b4682b95db4ca26f7a49f96c2f6c2875)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
cataloguing/addbooks.pl