Bugzilla – Attachment 51127 Details for
Bug 16429
Going to circulation from notice triggers may change logged in branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16429 - Going to circulation from notice triggers may change logged in branch
Bug-16429---Going-to-circulation-from-notice-trigg.patch (text/plain), 1.77 KB, created by
Kyle M Hall
on 2016-05-03 10:49:21 UTC
(
hide
)
Description:
Bug 16429 - Going to circulation from notice triggers may change logged in branch
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2016-05-03 10:49:21 UTC
Size:
1.77 KB
patch
obsolete
>From 10eb7b3a06ed8f4b48566b4a133e89fddcc31947 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 3 May 2016 10:30:20 +0000 >Subject: [PATCH] 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 >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc >index e7fb788..11ae617 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc >@@ -37,7 +37,7 @@ $(document).ready(function(){ > </div> > [% ELSE %] > <input id="findborrower" name="findborrower" size="40" class="head-searchbox focus" type="text" /> >- <input name="branch" value="[% branch %]" type="hidden" /> >+ <input name="branch" value="[% Branches.GetLoggedInBranchcode() %]" type="hidden" /> > <input name="printer" value="" type="hidden" /> > [% IF ( stickyduedate ) %] > <input type="hidden" name="duedatespec" value="[% duedatespec %]" /> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16429
:
51127
|
51128
|
51129
|
51130
|
51134
|
51135
|
51141
|
51142
|
51194
|
51195