https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42532

--- Comment #1 from Caroline Cyr La Rose <[email protected]> ---
Created attachment 198646
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198646&action=edit
Bug 42532: Map biblioitems.ean to 024$a by default (MARC21)

This patch adds a link from 024$a to biblioitems.ean in the default
bibliographic framework for MARC21 installations.

To test:

1. Make the following query in the database to see what is in 024$a and what is
in biblioitems.ean

select extractvalue(metadata, '//datafield[@tag="024"]/subfield[@code="a"]') as
024a, ean from biblio_metadata left join biblioitems using (biblionumber) where
extractvalue(metadata, '//datafield[@tag="024"]/subfield[@code="a"]') != '';

--> Returns a list of numbers in 024a and NULL in ean

2. Just to make sure, run batchRebuildBiblioTeables.pl

./misc/batchRebuildBiblioTables.pl -c

3. Redo the query in step 1

--> Still nothing in ean

4. Apply patch and reset_all

5. redo steps 2 and 3

--> ean is now filled

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to