Continuation of bz32610 Make date attributes input empty when repeating.
Created attachment 165927 [details] [review] Bug 36738: Date attributes follow-ups Make the repeatable date patron attribute empty when repeating the inputs to avoid date formatting problems (and keeping past date value after repeating is not something we want) Test plan: 1- create a patron attribute type with is a date and repeatable checked (administration -> patron attribute types) 2- add a couple of patron attribute of type date, notice the repeated inputs contain previous data 3- Apply the patch 4- redo step 2 and notice the repeated inputs are empty https://bugs.koha-community.org/show_bug.cgi?id=32610
Created attachment 165935 [details] [review] Bug 36738: Date attributes follow-ups Make the repeatable date patron attribute empty when repeating the inputs to avoid date formatting problems (and keeping past date value after repeating is not something we want) Test plan: 1- create a patron attribute type with is a date and repeatable checked (administration -> patron attribute types) 2- add a couple of patron attribute of type date, notice the repeated inputs contain previous data 3- Apply the patch 4- redo step 2 and notice the repeated inputs are empty Follow up for bug 32610 (https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32610) Signed-off-by: David Nind <david@davidnind.com>
I amended the commit message so that the link to the original bug works.
Small change, tested, treating as a normal follow-up to bug 32610.
Pushed for 24.05! Well done everyone, thank you!
Depends on Bug 32610 not in 23.11.x
Documented as part of bug 32610