Unfortunately just editing the bib frameworks won't do anything. For the 
Normal, ISBD, and OPAC views, the MARC is processed with XSL templates, and if 
the templates don't do anything to fields 310 and 362, then those fields will 
not show up. (This is the case with the default XSL files that come with Koha.) 
To make field 310a show up in the Normal view, edit 
MARC21slim2intranetDetail.xsl and add the following piece of code in it:

<xsl:if test="marc:datafield[@tag=310]/marc:subfield[@code='a']">
 <span class="results_summary pubfreq"><span class="label">Publication 
frequency: </span>
 <xsl:for-each select="marc:datafield[@tag=310]">
 <xsl:value-of select="marc:subfield[@code='a']"/>
 <xsl:choose><xsl:when 
test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>;
 </xsl:text></xsl:otherwise></xsl:choose>
 </xsl:for-each>
 </span>
 </xsl:if>

Note that XSL is quite picky, and you can't just add this anywhere - your best 
bet is to look for a label you see in the Normal-view, such as "Volumes: ", and 
putting the code in the empty line before that block of code.

You could also copy the MARC21slim2intranetDetails.xsl somewhere on the server, 
make the syspref XSLTDetailsDisplay point to it, and edit that copy instead.

The XSL-file for OPAC is called MARC21slim2OPACDetail.xsl, and you could add 
the same code to it.

Similar thing can be done for 362, just by changing the number 310 in that 
piece of code.

--
Ystävällisin terveisin

Pasi Kallinen
ICT-asiantuntija

p. 0400-139747
pasi.kalli...@pttk.fi


Pohjois-Karjalan Tietotekniikkakeskus Oy - www.pttk.fi

________________________________________
From: koha-boun...@lists.katipo.co.nz [koha-boun...@lists.katipo.co.nz] on 
behalf of Elaine Bradtke [e...@efdss.org]
Sent: Thursday, March 13, 2014 00:11
To: koha
Subject: [Koha] 362 and 310 Fields not displaying

MARC 21 field 362 (DATES OF PUBLICATION AND/OR SEQUENTIAL DESIGNATION) and
310 (CURRENT PUBLICATION FREQUENCY) do not display in the normal view. I
have edited the MARC Bibliographic framework, specifically so that they
would display.

Editing them was not straightforward, however. When I looked at the MARC
framework it said all the subfields for 362 were hidden, but when I went to
the actual subfields, some of them were marked visible (though they
weren't).  Just changing the advanced settings on a particular subfield had
no result, it still said 'hidden' (in the list, and when I viewed the
record), but if I went in and unticked and then ticked every box for all
the subfields, then it said it was no longer hidden.  However,  the
information that is in the field 362 still does not display in the record.
Although set to view in OPAC, staff interface and editor. . . the only
place this information shows is in the MARC record.

Is there something I'm missing? Or have we got a case of gremlins?

Koha 3.14.03

--
Elaine Bradtke
Data Wrangler
VWML
English Folk Dance and Song Society | http://www.efdss.org
Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY
Tel    +44 (0) 20 7485 2206 (This number is for the English Folk Dance and
Song Society in London, England. If you wish to phone me personally, send
an e-mail first. I work off site)
--------------------------------------------------------------------------
Registered Company No. 297142
Charity Registered in England and Wales No. 305999
---------------------------------------------------------------------------
"Writing about music is like dancing about architecture"
--Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to