From 9cdf370f670a17c825c9b812b0811c775f38b53f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 18 Dec 2009 09:23:23 -0500 Subject: [PATCH] Fix for Bug 3589, OpacHighlightedWords sys pref does nothing --- C4/Auth.pm | 1 + koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index e1f5b9a9b3..33dd36c020 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -397,6 +397,7 @@ sub get_template_and_user { OPACAmazonCoverImages => C4::Context->preference("OPACAmazonCoverImages"), OPACAmazonReviews => C4::Context->preference("OPACAmazonReviews"), OPACFRBRizeEditions => C4::Context->preference("OPACFRBRizeEditions"), + OpacHighlightedWords => C4::Context->preference("OpacHighlightedWords"), OPACItemHolds => C4::Context->preference("OPACItemHolds"), OPACShelfBrowser => "". C4::Context->preference("OPACShelfBrowser"), OPACURLOpenInNewWindow => "" . C4::Context->preference("OPACURLOpenInNewWindow"), diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl index 7e93baa30d..54602680b7 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl @@ -10,8 +10,8 @@ - - +