]> git.koha-community.org Git - koha.git/commit
Bug 26311: Add patron invalid age to search_for_data_inconsistencies.pl
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 27 Aug 2020 15:21:14 +0000 (17:21 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Jul 2022 12:20:50 +0000 (09:20 -0300)
commitcbdc4247496fb6c35496f6088611894fd3f9c0d3
tree1b1ebe4b64e75d6d6189a3fc1634072c9ab8ea0d
parent8f1f1cfd5054211df2aebf3073333133b410d929
Bug 26311: Add patron invalid age to search_for_data_inconsistencies.pl

Patron categories may have age limits.
Add to script misc/maintenance/search_for_data_inconsistencies.pl the list of patrons which age is invalid regarding there category.

Test plan :
1) Create an adult patron category limited to 18-99 years
2) Create a patron in the category
3) Edit in database its date of birth so that he is 17 years old
4) Run misc/maintenance/search_for_data_inconsistencies.pl
=> You see the patron

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/maintenance/search_for_data_inconsistencies.pl