Text to go in the release notes:
|
This enhancement to the command line script used for searching for data inconsistencies (misc/maintenance/search_for_data_inconsistencies.pl) now lists patrons where their age doesn't match the criteria set for the patron category.
This includes where there is:
- a minimum age required
- an upper age limit
- a minimum age and an upper age limit
An example of the output:
Patrons with invalid age for category:
* Patron borrowernumber=49 has an invalid age of 10 for their category 'PT' (24 to unlimited)
* Patron borrowernumber=49 has an invalid age of 71 for their category 'PT' (0 to 50)
* Patron borrowernumber=44 has an invalid age of 70 for their category 'PT' (20 to 60)
Note: Where a patron's age can't be calculated (for example: a school or other organisation, or the date of birth is missing), then they are not included in the checks.
|