Bugzilla – Attachment 30154 Details for
Bug 7462
duplicate patron shows flags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 7462 - duplicate patron shows flags
SIGNED-OFF-Bug-7462---duplicate-patron-shows-flags.patch (text/plain), 1.52 KB, created by
Bernardo Gonzalez Kriegel
on 2014-07-26 23:19:42 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 7462 - duplicate patron shows flags
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2014-07-26 23:19:42 UTC
Size:
1.52 KB
patch
obsolete
>From 835ccd469020cce8bb3a4938bfa29c86aaad3bf3 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 16 Jul 2014 09:13:34 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 7462 - duplicate patron shows flags > >When duplicating a patron the form fields for setting patron account >flags and restrictions should be hidden as it is when adding a patron. >This patch adds the correct logic to the template. > >To test, duplicate an existing patron: > >- Confirm that the "Patron account flags" and "Patron restrictions" > sections are not visible. >- Confirm that saving a duplicated patron works correctly. >- Confirm that the edit and new patron entry forms are unaffected. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Works ok, all three points confirmed >No koha-qa errors >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 858f7f3..3ed8d28 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1174,7 +1174,7 @@ > </fieldset> > [% END # hide fieldset %][% END %] > <!--this zones are not necessary in modif mode --> >- [% UNLESS ( opadd ) %] >+ [% UNLESS ( opadd || opduplicate ) %] > <fieldset class="rows"> > <legend>Patron account flags</legend> > <ol class="radio"> >-- >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 7462
:
29753
|
30154
|
30162