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 <oleonard@myacpl.org> Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
ea9e867a59
commit
43ba461f39
1 changed files with 4 additions and 2 deletions
|
@ -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 ) %]
|
||||
|
|
Loading…
Reference in a new issue