]> git.koha-community.org Git - koha.git/commit
Bug 28845: Match against the full limit string, not just the group id
authorNick Clemens <nick@bywatersolutions.com>
Wed, 11 Aug 2021 15:30:36 +0000 (15:30 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Oct 2021 20:07:06 +0000 (10:07 -1000)
commitcf136dadf259890e54da1b8ceec8202ede2bb08f
treec09a661b9f9c594ac7cd3ae51838d32dfcd4b0a9
parent9d5150e4cd82b05bf0e7a62a5964d678fc363086
Bug 28845: Match against the full limit string, not just the group id

To test:
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
5 - Apply patch
6 - Relaod opac - group is pre-selected!

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fc0cfd29377df00951c7c8da0caf472bb1fbee26)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc