From 43ba461f3905dc07e7e97bb23dc230fdd69ca2d7 Mon Sep 17 00:00:00 2001 From: Lyon3 Team Date: Mon, 29 Oct 2012 11:59:44 +0100 Subject: [PATCH] Bug 8978: Patron's dateexpiry erroneously updated when in UnwantedField If dateexpiry field was absent because it has been included in UnWantedField syspref list, the script assumed that the date has been forgotten and updated it when clicking on 'save' button. Signed-off-by: Owen Leonard Passed-QA-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 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 7ffefd3ca9..e327d03457 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1066,7 +1066,7 @@ [% END %] - [% UNLESS nodateenrolled && nodateexpiry && noopacnote && noborrowernotes %] + [% UNLESS nodateenrolled && noopacnote && noborrowernotes %]
Library set-up
    [% UNLESS nodateenrolled %] @@ -1089,6 +1089,9 @@ [% END %] [% UNLESS nodateexpiry %]
  1. + [% ELSE %] +
  2. + [% END %] [% IF ( mandatorydateexpiry ) %]
  3. - [% END %] [% UNLESS noopacnote %]
  4. [% IF ( mandatoryopacnote ) %] -- 2.39.5