777 fields (issued with entry) not displaying
Marc 21, Koha 3.22.07 I have edited the framework so that 777 subfields t, o and w should display in the staff interface, the editor and the OPAC. However, they only appear in the editor. I don't want to use 773 (Host item entry) and 774 (constituent item entry) for these, because it's not the right relationship. Is there anything I can do to make the 777 display? Have I missed some setting in preferences? Do I need to file a bug? -- 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)
Hi, Elaine-- I'm sorry that I don't have any ideas about the displaying, but it might be a good idea to also display $s, since a lot of serial titles are under uniform titles due to generic 245 titles, & so are using that uniform title in the linking field(s). Good luck! h2 ~~~~~~~~~~~~~~ Heather Hernandez Technical Services Librarian San Francisco Maritime National Historical Park Research Center 2 Marina Blvd., Bldg. E, 3rd floor, San Francisco, CA 94123 415-561-7032, heather_hernandez@nps.gov http://www.nps.gov/safr/learn/historyculture/museum-collections.htm "The sailor does not pray for wind, he learns to sail."--Gustaf Lindborg
Hi Elaine and Heather! This could probably resolve by editing the xslt of your Koha installation and include tag 777 so that it will display in the OPAC and Staff interface. Currently, the default MARC21slim2OPACDetail.xsl which is the xslt for OPAC display has only tag 773 and 775. Take probably a cue on the template on 773 and adjust to 777. Then do the same in the intranet display's xslt which is MARC21slim2intranetDetail.xsl. Maybe those who have done the same can share theirs. Just my .02 cents. Cheers! -- View this message in context: http://koha.1045719.n5.nabble.com/777-fields-issued-with-entry-not-displayin... Sent from the Koha-general mailing list archive at Nabble.com.
I tested adding 777 in my xslt by copying those related with 773 and replacing it with 777 and also replacing "In" with "Issued with", I have the following: <xsl:if test="marc:datafield[@tag=777]"> <xsl:for-each select="marc:datafield[@tag=777]"> <xsl:if test="@ind1 !=1"> <xsl:choose> <xsl:when test="@ind2=' '"> Issued with: </xsl:when> <xsl:when test="@ind2=8"> <xsl:if test="marc:subfield[@code='i']"> <xsl:value-of select="marc:subfield[@code='i']"/> </xsl:if> </xsl:when> </xsl:choose> <xsl:variable name="f777"> <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect"> <xsl:with-param name="codes">a_t</xsl:with-param> </xsl:call-template></xsl:with-param></xsl:call-template> </xsl:variable> <xsl:choose> <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute> <xsl:value-of select="translate($f777, '()', '')"/> <xsl:if test="marc:subfield[@code='g']"><xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='g']"/></xsl:if> </xsl:when> <xsl:when test="marc:subfield[@code='0']"> <xsl:attribute name="href">/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of select="marc:subfield[@code='0']"/></xsl:attribute> <xsl:value-of select="$f777"/> </xsl:when> <xsl:otherwise> <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate($f777, '()', '')"/></xsl:attribute> <xsl:value-of select="$f777"/> <xsl:if test="marc:subfield[@code='g']"><xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='g']"/></xsl:if> </xsl:otherwise> </xsl:choose> <xsl:if test="marc:subfield[@code='n']"> <xsl:value-of select="marc:subfield[@code='n']"/> </xsl:if> </xsl:if> </xsl:for-each> </xsl:if> Screenshot of the one I tested is below: <http://koha.1045719.n5.nabble.com/file/n5891081/for777.png> I hope someone in the group can edit further the xslt. Cheers! :) -- View this message in context: http://koha.1045719.n5.nabble.com/777-fields-issued-with-entry-not-displayin... Sent from the Koha-general mailing list archive at Nabble.com.
An additional suggestion: I've modified my OPAC Details Display and OPAC Results Display for our Local Authors catalog (which I'll share as soon as it's fit to be seen in public). If you modify those files, I'd recommend putting them into a separate directory and pointing to them in Administration | System preferences | OPAC preferences | OPACXSLTDetailsDisplay and OPACXSLTResultsDisplay. It makes them easier to find and less likely to be accidentally overwritten. If you want, you can even name them something else--easier to type if you have to edit them repeatedly. :-) Fred King Medical Librarian, MedStar Washington Hospital Center fred.king@medstar.net 202-877-6670 ORCID 0000-0001-5266-0279 Good science consists of play disguised as work. --E.O. Wilson -----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of schnydszch Sent: Thursday, June 09, 2016 11:27 PM To: koha@lists.katipo.co.nz Subject: Re: [Koha] 777 fields (issued with entry) not displaying Hi Elaine and Heather! This could probably resolve by editing the xslt of your Koha installation and include tag 777 so that it will display in the OPAC and Staff interface. Currently, the default MARC21slim2OPACDetail.xsl which is the xslt for OPAC display has only tag 773 and 775. Take probably a cue on the template on 773 and adjust to 777. Then do the same in the intranet display's xslt which is MARC21slim2intranetDetail.xsl. Maybe those who have done the same can share theirs. Just my .02 cents. Cheers! -- View this message in context: http://koha.1045719.n5.nabble.com/777-fields-issued-with-entry-not-displayin... Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha MedStar Health is a not-for-profit, integrated healthcare delivery system, the largest in Maryland and the Washington, D.C., region. Nationally recognized for clinical quality in heart, orthopaedics, cancer and GI. IMPORTANT: This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other privilege. If you received this e-mail in error, please delete it from your system without copying it and notify sender by reply e-mail, so that our records can be corrected. Thank you. Help conserve valuable resources - only print this email if necessary.
I've added an enhancement request to Bugzilla https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16728 On Thu, Jun 9, 2016 at 7:08 PM, Elaine Bradtke <eb@efdss.org> wrote:
Marc 21, Koha 3.22.07
I have edited the framework so that 777 subfields t, o and w should display in the staff interface, the editor and the OPAC. However, they only appear in the editor.
I don't want to use 773 (Host item entry) and 774 (constituent item entry) for these, because it's not the right relationship.
Is there anything I can do to make the 777 display? Have I missed some setting in preferences? Do I need to file a bug? -- 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)
-- 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)
participants (4)
-
Elaine Bradtke -
Hernandez, Heather -
King, Fred -
schnydszch