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

--- Comment #25 from Nick Clemens <n...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to