Bugzilla – Attachment 13124 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]
[SIGNED-OFF] Patron's dateexpiry erroneously updated when in UnwantedField
SIGNED-OFF-Patrons-dateexpiry-erroneously-updated-.patch (text/plain), 1.88 KB, created by
Owen Leonard
on 2012-10-30 19:43:37 UTC
(
hide
)
Description:
[SIGNED-OFF] Patron's dateexpiry erroneously updated when in UnwantedField
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-10-30 19:43:37 UTC
Size:
1.88 KB
patch
obsolete
>From 006f55fef9f4b3b8c3283bb35b7c3a35422defa9 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] [SIGNED-OFF] Patron's dateexpiry erroneously updated when in > UnwantedField >Content-Type: text/plain; charset="utf-8" > >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. > >http://bugs.koha-community.org/show_bug.cgi?id=8978 >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../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 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.9.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