Koha-clms/Koha/Patron
Jonathan Druart c6ca2dfcd3
Bug 11853: Allow to clear the date of birth at the OPAC
A patron is not able to clear their date of birth.

When cleared tt is set to NULL in DB which means, for the patron's
modifications feature, that nothing has been changed.

Test plan:
0/ Do not apply the patch
1/ Edit your personal details at the OPAC
2/ Add a date of birth
3/ On the staff interface, approve the modification request
=> OK it is updated
4/ Edit your personal details and clear the date of birth
5/ On the staff interface
=> KO the table display is wrong, nothing is marked has changed
6/ Approve the modification requiest
=> KO it has not been cleared
7/ Apply the patch and repeat 1 to 6 and confirm that the behaviors are
now correct.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 6692800794)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-05-24 14:45:07 +01:00
..
Attribute Bug 17755: (followup) Override ->search to allow filtering by branchcode 2017-03-24 18:32:48 +00:00
Password Bug 18570: Send Password Reset Emails immediately 2018-03-19 13:55:37 -03:00
Attribute.pm Bug 17828: return $self to be consistent 2017-03-31 14:36:49 +00:00
Attributes.pm Bug 17792: Introduce Koha::Patron::Attribute(s) 2017-03-24 18:44:02 +00:00
Categories.pm Bug 15407: Koha::Patron::Categories - replace GetborCatFromCatType 2016-09-08 13:29:22 +00:00
Category.pm Bug 17699: Use limit as end_of_month 2017-08-08 09:22:09 -03:00
Consent.pm Bug 20819: Add Koha object classes for patron consents 2018-09-20 13:45:25 +00:00
Consents.pm Bug 20819: Add Koha object classes for patron consents 2018-09-20 13:45:25 +00:00
Debarments.pm Bug 16849: Move IsDebarred to Koha::Patron->is_debarred 2016-07-15 18:08:14 +00:00
Discharge.pm Bug 21025: Add GetPreparedLetter to Koha::Patron::Discharge 2018-07-13 11:57:22 +00:00
Files.pm Bug 16011: $VERSION - Remove empty BEGIN block 2016-03-24 17:20:41 +00:00
HouseboundProfile.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
HouseboundProfiles.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
HouseboundRole.pm Bug 5670: [QA Followup] Create HouseboundRole objects. 2016-10-21 18:18:05 +00:00
HouseboundRoles.pm Bug 5670: [QA Followup] Create HouseboundRole objects. 2016-10-21 18:18:05 +00:00
HouseboundVisit.pm Bug 5670: [Followup] Return Koha::Patron objects. 2016-10-21 18:17:58 +00:00
HouseboundVisits.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
Image.pm Bug 15635: Change method type to _type for bug 15446 2016-03-04 12:54:20 +00:00
Images.pm Bug 15635: Change method type to _type for bug 15446 2016-03-04 12:54:20 +00:00
Message.pm Bug 17558: Fix adding manager id to patron messages in store method 2016-11-12 02:33:14 +00:00
Messages.pm Bug 15632 [QA Followup] - Change method type to _type for bug 15446 2016-03-03 21:22:16 +00:00
Modification.pm Bug 11853: Allow to clear the date of birth at the OPAC 2019-05-24 14:45:07 +01:00
Modifications.pm Bug 11853: Allow to clear the date of birth at the OPAC 2019-05-24 14:45:07 +01:00