[Koha-devel] biblioitems marc and marcxml

Paul A paul.a at navalmarinearchive.com
Fri Mar 6 00:10:34 CET 2015


Good morning|evening to you all. I'm looking for some help please for a 
problem [1] that has surfaced concerning "advanced search" (OPAC and staff) 
by "Shelving location" and by "Collection Code".

I can't find an bugs relating to this. 
<http://perldoc.koha-community.org/C4/Biblio.html> states:
When dealing with items, we must :
/.../
3. overwrite the MARC record (with the added item) into biblioitems.marc(xml)

but I can't easily find where or how marc(xml) gets *updated*...  and I'm 
not even certain that this is not an "error" left over from 3.6 two years ago

I can do a certain amount directly in MySQL (painstaking 
UPDATE...SET...REPLACE), but additionally, we have many 
biblioitems.marc(xml) which do *not* contain 952$c or $8 data at all. Since 
upgrade to 3.8? if 3.6 didn't put them there, I have no idea how they got 
there ;={

Importantly, should 952$c and 952$8 even be present in 
biblioitems.marc(xml)? (The advanced search uses these apparently unedited 
data in preference to items.location and items.ccode)

Is there a routine/utility to do this?

[1] Most of our cataloging is done into "boxes" at 952$c level using a 
provisional 952$8 (CCODE); then a different volunteer does the final 
shelving, edits the 952$c and possibly modifies the CCODE -- e.g. a book 
from "box_rr198" gets put onto the "engineering" shelf rather than "navy". 
This is accurately reflected by all searches (I think) except by the 
advanced options "Shelving location" and "Collection" which appear to rely 
primarily on biblioitems.marc(xml) neither of which is being updated by 
saving the edit to "items" or in new items in 3.8

Many thanks -- Paul



More information about the Koha-devel mailing list