If you add an exception on the edit patron page, the date is either not saved correctly, or not displayed correctly
Created attachment 22891 [details] [review] Bug 11240 : Date of restriction not saved on Patron Edit screen To test: 1/ Edit a patron 2/ Add a restriction with a date (in any format other than iso) 3/ Not the date is not saved 4/ Apply patch 5/ Add restriction again, note it is saved The problem is output_pref was being called with the wrong parameters
Created attachment 22895 [details] [review] Bug 11240 : Date of restriction not saved on Patron Edit screen To test: 1/ Edit a patron 2/ Add a restriction with a date (in any format other than iso) 3/ Not the date is not saved 4/ Apply patch 5/ Add restriction again, note it is saved The problem is output_pref was being called with the wrong parameters Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Note: The issue in on the memberentry form only (not the restriction form on the check out page).
For the sake of having a keyword: manual restriction.
Created attachment 22947 [details] [review] [PASSED-QA] Bug 11240 : Date of restriction not saved on Patron Edit screen To test: 1/ Edit a patron 2/ Add a restriction with a date (in any format other than iso) 3/ Not the date is not saved 4/ Apply patch 5/ Add restriction again, note it is saved The problem is output_pref was being called with the wrong parameters Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Note: The issue in on the memberentry form only (not the restriction form on the check out page). Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Pushed to master and 3.14.x. Thanks, Chris!