Bug 10129: Babeltheque does not depend on COinSinOPACResults
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 26 Apr 2013 14:02:19 +0000 (16:02 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 23 May 2013 16:28:14 +0000 (09:28 -0700)
commit98dae69c7176bbd7a962e36fb629fc09229d534c
treeffa87135ec5d140084ac69b2b9e3b13184a0edb9
parent27a1017e44eb0ef67d8fe028a8e74b1a4c1e48eb
Bug 10129: Babeltheque does not depend on COinSinOPACResults

This patch groups all loops on the new_results array into one.
It is useless to loop on the same results array several times.

Test plan:
Quite hard to test all cases.
This patch deals with 5 sysprefs:
COinSinOPACResults, Babeltheque, TagsEnabled, TagsShowOnList and
OpacStarRatings.

Try to enable/disable all of them and verify there is no difference with
and without this patch.
The only different will be: The Babeltheque information should be displayed
even if the COinSinOPACResults syspref is disabled.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
This revised patch works fine for me, thanks.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Verified following system preferences still work as expected:
- COinSinOPACResults on/off
- TagsEnabled, TagsShowOnList, TagsInputOnList on/off
- OpacStarRatings

Couldn't test Babeltheque functionality as this requires an account.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
opac/opac-search.pl