Koha-clms/Koha/Database
Fridolin Somers 284feface3
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: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c7d8dbf473)
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
2026-08-11 15:14:46 +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-03-23 09:47:34 +00: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-08-11 15:14:46 +00:00