Koha/misc/maintenance
Fridolin Somers cc1695ba96
Bug 33603: Fix misc/maintenance/search_for_data_inconsistencies.pl when biblio.biblionumber on control field
Since bug 29486, misc/maintenance/search_for_data_inconsistencies.pl search for biblio.biblionumber in MARC record with $record->subfield().
This fails when field is a control field (< 10).
Idem for biblioitems.biblioitemnumber

Test plan :
1.0) On a UNIMARC database (biblio.biblionumber is on 001)
1.1) Run misc/maintenance/search_for_data_inconsistencies.pl
=> Without patch you get error : Control fields (generally, just tags below 010) do not have subfields, use data()
=> With patch no error
2.0) On a MARC21 database (biblio.biblionumber is on 999c)
2.1) Run misc/maintenance/search_for_data_inconsistencies.pl
=> Check you see no error

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-05 09:13:15 -03:00
..
auth_show_hidden_data.pl
borrowers-force-messaging-defaults.pl
check_syspref_cache.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
check_sysprefs.sh
cmp_sysprefs.pl
compare_es_to_db.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
fix_accountlines_date.pl
fix_accountlines_rmdupfines_bug8253.pl
fix_mysql_constraints.pl
fix_tags_weight.pl
generate_MARC21Languages.pl Bug 33341: Address some perlcritic errors in 5.36 2023-03-28 14:50:33 +02:00
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 Bug 33603: Fix misc/maintenance/search_for_data_inconsistencies.pl when biblio.biblionumber on control field 2023-05-05 09:13:15 -03:00
sync_db_comments.pl Bug 32334: Fix spelling 2023-04-12 11:22:04 -03:00
touch_all_biblios.pl
touch_all_items.pl
UNIMARC_fix_collectiontitle.pl
UNIMARC_sync_date_created_with_marc_biblio.pl
update_authorities.pl