[Bug 10060] Allow adding a branch parameter to the web-based self check to indicate library its used at
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10060 --- Comment #27 from Christopher Brannon <cbrannon@cdalibrary.org> --- (In reply to Nick Clemens from comment #25)
Created attachment 163308 [details] [review] 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
I wish I could give feedback. Sounds promising. Is this a working patch that can be tested? -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org