Bug 11240: ensure that date of restriction is saved when using patron edit screen
authorChris Cormack <chrisc@catalyst.net.nz>
Tue, 12 Nov 2013 22:05:32 +0000 (11:05 +1300)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 14 Nov 2013 23:05:24 +0000 (23:05 +0000)
commitfc0c807901e858f448aa0ddde0f398dc2591b48d
tree7562fbb60ef6246350e712c1002581ccf248d57c
parent165e8750b8e6b57050f11884e58ce85c2888f243
Bug 11240: ensure that date of restriction is saved when using patron edit screen

To test:

1/ Edit a patron
2/ Add a restriction with a date (in any format other than iso)
3/ Note 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>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
members/memberentry.pl