[Koha-devel] Items not added to Zebra in field 952

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Thu Jun 9 12:21:09 CEST 2011


Try: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5579

-----Oorspronkelijk bericht-----
Van: koha-devel-bounces at lists.koha-community.org [mailto:koha-devel-bounces at lists.koha-community.org] Namens Salvador Zaragoza Rubio
Verzonden: donderdag 9 juni 2011 12:04
Aan: koha-devel at lists.koha-community.org
Onderwerp: [Koha-devel] Items not added to Zebra in field 952

Hi all,

On my git master updated version when adding an item I can't see the item added in the 952 field of the Zebra database, it's only added to the MySQL items table.

I've checked the Items.pm script and in the sub AddItem this is what we had before:

# create MARC tag representing item and add to bib
    my $new_item_marc = _marc_from_item_hash($item, $frameworkcode, $unlinked_item_subfields);
    _add_item_field_to_biblio($new_item_marc, $item->{'biblionumber'}, $frameworkcode );

And now:

    ModZebra( $item->{biblionumber}, "specialUpdate", "biblioserver", undef, undef );


The sub _add_item_field_to_biblio is missing and the 952 is not added to the biblio record (field marcxml, filed marc in biblioitems) and the ModZebra doesn't update the record with the new 952 field.

Am I missing something? Is that correct and is a planned modification about Items?
I can't find a bug related with this issue.


Regards

Salva



More information about the Koha-devel mailing list