[Koha-bugs] [Bug 10060] Allow adding a branch parameter to the web-based self check to indicate library its used at
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 18 12:38:00 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10060
--- Comment #25 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 163308
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163308&action=edit
Bug 10060: POC
This patch adds a stanza to the SetEnv middleware which checks for a branchcode
in the SCO url and captures it.
We then use that branchcode in checkauth to set the userenv to the specified
branch (if it is a real branch)
The regex could probably be improved, and the change needs test coverage, but
this might be a valid approach to seeting the branch from the URL. Feedback
appreciated
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list