Koha/misc/maintenance
Fridolin Somers c26dff61e7
Bug 34505: Patron invalid age in search_for_data_inconsistencies.pl skip expired patrons
Bug 26311 added patron invalid age in search_for_data_inconsistencies.pl
But this is not relevant for expired patrons, especially in child categories.
Check should skip expired patrons

1) Set a non-expired patron with invalid age
2) Run misc/maintenance/search_for_data_inconsistencies.pl
=> Check you see the patron
3) Edit patron to be expired
4) Run misc/maintenance/search_for_data_inconsistencies.pl
=> Check you do not see the patron

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] If we do not want to test valid age for expired patrons, you should
obviously test expired first. Reversing the order in the test.
Putting it in the search criteria would be nicer but leads to more
complicated code.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-08-29 14:59:08 -03:00
..
auth_show_hidden_data.pl
borrowers-force-messaging-defaults.pl
check_syspref_cache.pl
check_sysprefs.sh
cmp_sysprefs.pl
compare_es_to_db.pl
fix_accountlines_date.pl
fix_accountlines_rmdupfines_bug8253.pl
fix_mysql_constraints.pl
fix_tags_weight.pl
generate_MARC21Languages.pl
make_zebra_dom_cfg_from_record_abs
process_record_through_filter.pl
remove_items_from_biblioitems.pl
sanitize_records.pl
search_for_data_inconsistencies.pl
sync_db_comments.pl
touch_all_biblios.pl
touch_all_items.pl
UNIMARC_fix_collectiontitle.pl
UNIMARC_sync_date_created_with_marc_biblio.pl
update_authorities.pl