]> git.koha-community.org Git - koha.git/commit
Bug 16429 - Going to circulation from notice triggers may change logged in branch
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 3 May 2016 10:30:20 +0000 (10:30 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 16 May 2016 11:36:22 +0000 (13:36 +0200)
commit56d779ae2396832a25f65291d0d21990915597b0
tree2a8c4fc8b6cb416ec9c13f1fad01d8ea734fb53d
parent5767df93e3deece0a9e2a2e2df85d3ab6da210f0
Bug 16429 - Going to circulation from notice triggers may change logged in branch

If you edit notice triggers and then use the "Checko out" tab from the
top bar, you may change your logged in library by accident!

Test Plan:
1) Disable the system preference CircAutocompl
2) Go to the notice triggers
3) Select the triggers for a library other than the one you logged in as
4) Use the "Check out" tab at the top to check out to a patron
5) Note your logged in branch has changed ( you'll need to refresh the
    page if the check out search took you directly to one patron ).
6) Apply this patch
7) Repeat steps 2-4
8) Note the branch no longer changes

Tested with both patches applied. Works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Heather Braum <hbraum@nekls.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 56f65a9d0af39059d516a058350674bee997cb6d)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc