Bugzilla – Attachment 13095 Details for
Bug 8978
Patron's dateexpiry is erroneously updated if dateexpiry in UnWantedField syspref
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patron's dateexpiry is erroneously updated if dateexpiry in UnWantedField syspref
0001-Patron-s-dateexpiry-erroneously-updated-when-in-Unwa.patch (text/plain), 1.77 KB, created by
Koha Team University Lyon 3
on 2012-10-29 11:48:39 UTC
(
hide
)
Description:
Patron's dateexpiry is erroneously updated if dateexpiry in UnWantedField syspref
Filename:
MIME Type:
Creator:
Koha Team University Lyon 3
Created:
2012-10-29 11:48:39 UTC
Size:
1.77 KB
patch
obsolete
>From 5a5728c2c4a0be1c5af89e4c3194bff1ef5cb27a Mon Sep 17 00:00:00 2001 >From: Lyon3 Team <koha@univ-lyon3.fr> >Date: Mon, 29 Oct 2012 11:59:44 +0100 >Subject: [PATCH] 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. >--- > .../prog/en/modules/members/memberentrygen.tt | 6 ++++-- > 1 files 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 7ffefd3..e327d03 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 %] > </ol> > </fieldset> >- [% UNLESS nodateenrolled && nodateexpiry && noopacnote && noborrowernotes %] >+ [% UNLESS nodateenrolled && noopacnote && noborrowernotes %] > <fieldset class="rows" id="memberentry_subscription"> > <legend id="library_setup_lgd">Library set-up</legend><ol> > [% UNLESS nodateenrolled %] >@@ -1089,6 +1089,9 @@ > [% END %] > [% UNLESS nodateexpiry %] > <li> >+ [% ELSE %] >+ <li style="display:none"> >+ [% END %] > [% IF ( mandatorydateexpiry ) %] > <label for="to" class="required"> > [% ELSE %] >@@ -1112,7 +1115,6 @@ > [% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %] > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> >- [% END %] > [% UNLESS noopacnote %] > <li> > [% IF ( mandatoryopacnote ) %] >-- >1.7.2.5 >
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 8978
:
13095
|
13124