Created attachment 13095 [details] [review] Patron's dateexpiry is erroneously updated if dateexpiry in UnWantedField syspref If dateexpiry field is absent from patron page because it has been included in UnWantedField syspref list, the script normally assumes that the date has been forgotten and update it by default when clicking on 'save' button. But you may have to make a data modification (add for example a note about overdue items to a patron which dateexpiry is expired ) on a patron's file without changing the dateexpiry. This patch makes it possible. Test plan : 1) add dateexpiry in UnWantedField syspref 2) choose a patron that have for example an expired dateexpiry 3) Click Edit button and make a modification 4) Save Before the patch, the date is renewed according to the date or period attached to the patron category. After, it does not.
Created attachment 13124 [details] [review] [SIGNED-OFF] 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. http://bugs.koha-community.org/show_bug.cgi?id=8978 Signed-off-by: Owen Leonard <oleonard@myacpl.org>
QA Comment: Good catch ! Marked as Passed QA.
This patch has been pushed to master. As a reminder, please include bug numbers in the subject line of your patches.
Patch pushed to branch 3.10.x
Released in 3.10.0