Koha-clms/Koha/Database
Fridolin Somers b83e2a6fe4
Bug 42846: Koha::Database::DataInconsistency fix typo for biblioitemnumber in MARC
Check of biblioitemnumber in MARC uses $biblionumber instead of $biblioitemnumber

It returns for example :
Biblionumber 542620 has biblioitemnumber '542620' but should be '542620' in 090$a

Test plan (for MARC21 only) :
1) Choose a biblio record id=X
2) Change with SQL :
update biblio_metadata set metadata = UpdateXML( metadata , '//datafield[@tag="999"]/subfield[@code="d"]' , CONCAT('<subfield code="d">1111</subfield>') ) where biblionumber = X
3) Run audit on this record
4) Check message is correct

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-06-19 12:00:21 +00:00
..
Auditor.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Columns.pm Bug 41752: label concactfirstname and contactname as Guarantor first name and Guarantor surname 2026-02-06 15:17:27 -07:00
Commenter.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
DataInconsistency.pm Bug 42846: Koha::Database::DataInconsistency fix typo for biblioitemnumber in MARC 2026-06-19 12:00:21 +00:00