From 425912847e5aee23dd530457598a898bc2399278 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 16 Jul 2014 09:13:34 -0400 Subject: [PATCH] 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 Works ok, all three points confirmed No koha-qa errors Signed-off-by: Katrin Fischer Works as described, small template change. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Galen Charlton --- .../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 430543e618..e829358b81 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 @@ [% END # hide fieldset %][% END %] - [% UNLESS ( opadd ) %] + [% UNLESS ( opadd || opduplicate ) %]
Patron account flags
    -- 2.39.5