[Koha-bugs] [Bug 28845] New: OpacAddMastheadLibraryPulldown does not respect multibranchlimit in OPAC_SEARCH_LIMIT

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 11 17:30:29 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28845

            Bug ID: 28845
           Summary: OpacAddMastheadLibraryPulldown does not respect
                    multibranchlimit in OPAC_SEARCH_LIMIT
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

If the OPAC_LIMIT_OVERRIDE and OPAC_SEARCH_LIMIT environment override values
are set in apache and OpacAddMastheadLibraryPulldown is enabled,
multibranchlimit values are not preselected as they should be:

To recreate
1 - Add to OPAC virtual host in apache conf:
   SetEnv OPAC_SEARCH_LIMIT branch:multibranch-1
   SetEnv OPAC_LIMIT_OVERRIDE 1
   RequestHeader add X-Koha-SetEnv "OPAC_SEARCH_LIMIT
branch:multibranchlimit-1"
   RequestHeader add X-Koha-SetEnv "OPAC_LIMIT_OVERRIDE 1"
2 - Enable system preference OpacAddMastheadLibraryPulldown
3 - Create a library group enabled as OPAC search group (or make sure existing
group 1 is an OPAC search group)
4 - Load the opac - dropdown does not pree-select the search group

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list