From f14bd1dbe457285cde80309aae39a625f7026ecc Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 8 Nov 2013 14:50:38 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 11216 - Patron modification creates indefinite manual restriction Content-Type: text/plain; charset="utf-8" Editing partron data results in unintended adding of indefinite manual restriction to it. Reason for it is hidden field add_debarment which is wrongly initialized to 1 instead of 0. Also JavaScript code seems to want to toggle checkbox, and sice this field is hidden correct approach would be to change it's value to 1. Test scenario: 1. edit patron data 2. verify that debarrment is wrongly added 3. remove debarrment 3. apply this patch 4. edit patron again 5. verify that debarrment wasn't added 6. intentionally add debarrment and verify that it's saved Signed-off-by: Owen Leonard --- .../prog/en/modules/members/memberentrygen.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 b158556..15ed9d7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1221,11 +1221,11 @@ [% END %]

Add manual restriction

- + Add manual restriction
    -
  1. -
  2. +
  3. +
  4. Clear date
-- 1.7.9.5