Bugzilla – Attachment 30165 Details for
Bug 7237
duplicating patron not using patron's branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 7237 - duplicating patron not using patron's branch
PASSED-QA-Bug-7237---duplicating-patron-not-using-.patch (text/plain), 1.33 KB, created by
Katrin Fischer
on 2014-07-27 22:18:38 UTC
(
hide
)
Description:
[PASSED QA] Bug 7237 - duplicating patron not using patron's branch
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-07-27 22:18:38 UTC
Size:
1.33 KB
patch
obsolete
>From ada7e32bec794c1e18545e6ca231d38ff2f3e30a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 18 Jul 2014 12:22:58 -0400 >Subject: [PATCH] [PASSED QA] Bug 7237 - duplicating patron not using patron's > branch > >When duplicating a patron the original patron's library should be >preselected. > >To test, apply the patch and choose a patron to duplicate, noting which >library is set as their home library. Click the "Duplicate" button and >cnofirm that the patron's library is preselected on the patron entry >form. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works as described, no problems found. >--- > members/memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 959a795..49f728e 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -604,7 +604,7 @@ if (C4::Context->userenv && C4::Context->userenv->{'branch'}) { > $userbranch = C4::Context->userenv->{'branch'}; > } > >-if (defined ($data{'branchcode'}) and ( $op eq 'modify' || ( $op eq 'add' && $category_type eq 'C' ) )) { >+if (defined ($data{'branchcode'}) and ( $op eq 'modify' || $op eq 'duplicate' || ( $op eq 'add' && $category_type eq 'C' ) )) { > $userbranch = $data{'branchcode'}; > } > >-- >1.9.1
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 7237
:
29859
|
30109
| 30165