From 2f76bb4476d5eae30d921922a9898d41fc543cd5 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 8 Nov 2013 14:50:38 +0100 Subject: [PATCH] Bug 11216 - Patron modification creates indefinite manual restriction 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 --- .../prog/en/modules/members/memberentrygen.tt | 6 +++--- 1 files 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.2.5