[Koha-bugs] [Bug 21911] Scoping OPACs by branch does not work with new library groups
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 29 15:22:12 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21911
--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 82743
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82743&action=edit
Bug 21911: Fix OPAC scoping to work with new group system
To test:
0 - Apply patch
1 - Create a library group enabled for opac search limits and add some
libraries
2 - Check the DB (or advanced search dropdown) to get the id of the
group (using 7 as example below)
3 - Add to apache configuration (OPAC virtualhost)
SetEnv OPAC_SEARCH_LIMIT branch:multibranchlimit-7
SetEnv OPAC_LIMIT_OVERRIDE 1
RequestHeader add X-Koha-SetEnv "OPAC_SEARCH_LIMIT
branch:multibranchlimit-7"
RequestHeader add X-Koha-SetEnv "OPAC_LIMIT_OVERRIDE 1"
4 - Ensure OpacAddMastheadLibraryPulldown is disabled
5 - Restart all the things
6 - Visit the opac
7 - Perform a search, confirm it is scoped to the branches in the group
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list