Bugzilla – Attachment 27256 Details for
Bug 10904
Limit patron modification request management by branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 10904 [QA Followup] - Use branch limit if either IndependentBranches or IndependentBranchesPatronModifications is enabled
PASSED-QA-Bug-10904-QA-Followup---Use-branch-limit.patch (text/plain), 2.01 KB, created by
Katrin Fischer
on 2014-04-17 14:41:12 UTC
(
hide
)
Description:
[PASSED QA] Bug 10904 [QA Followup] - Use branch limit if either IndependentBranches or IndependentBranchesPatronModifications is enabled
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-04-17 14:41:12 UTC
Size:
2.01 KB
patch
obsolete
>From 4182dfc707f59fd51e72fa8f0692c24e6e2f11d4 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 17 Apr 2014 10:18:26 -0400 >Subject: [PATCH] [PASSED QA] Bug 10904 [QA Followup] - Use branch limit if > either IndependentBranches or IndependentBranchesPatronModifications is > enabled > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Passes all tests and QA script. > >Behaviour now is: >IndependentBranches = Prevent >or >IndependentBranches = Don't prevent, >IndependentBranchesPatronModifications = Prevent: >You will always only see the modification requests of your branch's patrons. > >IndependentBrnaches = Don't prevent, >IndependentBranchesPatronModifications = Don't prevent >All modification requests are shown. > >Link to patron record works and cardnumber is shown. > >IndependentBranches = OFF - use the new preference. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > mainpage.pl | 3 ++- > members/members-update.pl | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/mainpage.pl b/mainpage.pl >index e9ee176..3f8dac3 100755 >--- a/mainpage.pl >+++ b/mainpage.pl >@@ -55,7 +55,8 @@ $template->param( > ); > > my $branch = >- C4::Context->preference("IndependentBranchesPatronModifications") >+ ( C4::Context->preference("IndependentBranchesPatronModifications") >+ || C4::Context->preference("IndependentBranches") ) > && !$flags->{'superlibrarian'} > ? C4::Context->userenv()->{'branch'} > : undef; >diff --git a/members/members-update.pl b/members/members-update.pl >index ee1f7ee..ec0f3ee 100755 >--- a/members/members-update.pl >+++ b/members/members-update.pl >@@ -42,7 +42,8 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( > ); > > my $branch = >- C4::Context->preference("IndependentBranchesPatronModifications") >+ ( C4::Context->preference("IndependentBranchesPatronModifications") >+ || C4::Context->preference("IndependentBranches") ) > && !$flags->{'superlibrarian'} > ? C4::Context->userenv()->{'branch'} > : undef; >-- >1.8.3.2
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 10904
:
21950
|
22494
|
23103
|
23104
|
25467
|
25468
|
27253
|
27254
|
27255
|
27256
|
36959
|
36960
|
36961
|
42599
|
42600
|
42601