]> git.koha-community.org Git - koha.git/commit
Bug 28847: Cleanup of branch limitsand fix OPAC_SEARCH_LIMIT
authorNick Clemens <nick@bywatersolutions.com>
Thu, 12 Aug 2021 11:13:46 +0000 (11:13 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 22 Nov 2021 18:37:19 +0000 (13:37 -0500)
commit14a736a248e8fa4227cd80d4e6ac17c5e02dee91
treedc01a72a55cf812db2dcf95ece38cd0266bf4271
parent036c53e9bf5051d21304a9ef569a1168c569874c
Bug 28847: Cleanup of branch limitsand fix OPAC_SEARCH_LIMIT

The opac had 'branch_group_limit' parameters which can be simplified to more
closely match intranet code.

Adjust C4::Auth for chaneg above to ensure dropdowns correctly populate

Expand JS to prevent selection of single and multibranch limits

To test:
1 - Enable OpacAddMastheadLibraryPulldown system preference
2 - Ensure branches and groups show as before patch
3 - Ensure single and multibranch limits from masthead apply as expected
4 - Test advanced search page, ensure you cannot select both single and multibranch limit
5 - Follow test plan on 28845 - ensure multibranch limit still correctly pre-selected

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Auth.pm
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt