[Koha-bugs] [Bug 15198] Make OpacSuppression work even if there are no records suppressed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 17 01:33:55 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15198
--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Unfortunately, I can't currently install the dependencies for master, namely
Crypt::GCrypt which despite being marked as not required is required to even
visit mainpage.pl, so I'll just be posting something here for someone else to
do:
--
ccl.properties:
Replace:
Suppress 1=9011
With:
Suppress 1=9011 14=1
--
opac-search.pl:
Replace:
$query = '@not '.$query.' @attr 1=9011 1';
and
$query = '@not '.$query.' @attr 1=9011 1'; #PQF syntax
With:
$query = '@not '.$query.' @attr 14=1 @attr 1=9011 1';
and
$query = '@not '.$query.' @attr 14=1 @attr 1=9011 1'; #PQF syntax
--
You'll need to test the opac-search.pl stuff, but I've already tested the
ccl.properties change and it works a treat.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list