Hello, Koha newbie here, so please pardon my ignorance! Is there a way to choose which 650 fields display in the OPAC? I would like ours to only show Library of Congress subjects (650 0_0) and suppress all others. Thank you, Tami Tami Wilkerson Library Program Lead/Librarian Columbia River Inter-Tribal Fish Commission StreamNet Regional Library 700 NE Multnomah St. Suite 515 Portland, OR 97232 twilkerson@critfc.org<mailto:twilkerson@critfc.org> / 503.736.3581
Welcome! There's probably an easier way to do it, but I take out the 650 fields I don't want when I'm editing the MARC records. I figure our users probably don't need the subject headings in French, Spanish, German, etc. We're a very small library--the number of records our cataloging department* adds annually is in the low three figures--so that might not be the best solution for you. It does work, though. *Me. I'm also the tech services department, systems department, and half the reference department. And other duties as required. Fred King Medical Librarian, MedStar Washington Hospital Center fred.king@medstar.net 202-877-6670 ORCID 0000-0001-5266-0279 MedStar Authors Catalog: http://medstarauthors.org Honey, courage is just a lack of options. --Fannie Lou Hamer -----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Tami Wilkerson Sent: Friday, December 07, 2018 11:22 AM To: koha@lists.katipo.co.nz Subject: [Koha] Subject Headings Display in OPAC ** ATTENTION: This email originated from outside the MedStar network. ** DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe. Hello, Koha newbie here, so please pardon my ignorance! Is there a way to choose which 650 fields display in the OPAC? I would like ours to only show Library of Congress subjects (650 0_0) and suppress all others. Thank you, Tami Tami Wilkerson Library Program Lead/Librarian Columbia River Inter-Tribal Fish Commission StreamNet Regional Library 700 NE Multnomah St. Suite 515 Portland, OR 97232 twilkerson@critfc.org<mailto:twilkerson@critfc.org> / 503.736.3581 _______________________________________________ Koha mailing list https://urldefense.proofpoint.com/v2/url?u=http-3A__koha-2Dcommunity.org&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZCgjav-vK4ECOYfNqukhNHT71XuUDpvDBXoSqobsPn4&s=jS_IRW_G-gw3olKsbu1H136EY7KMATquxA_0SISHUN8&e= Koha@lists.katipo.co.nz https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.katipo.co.nz_mailman_listinfo_koha&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZCgjav-vK4ECOYfNqukhNHT71XuUDpvDBXoSqobsPn4&s=kRij8D1QAtSgWrTFPIHxK0isC-WHBcEwdKrHT_OF7kY&e=
On 2018-12-07 2:51 p.m., King, Fred wrote:
Welcome! There's probably an easier way to do it, but I take out the 650 fields I don't want when I'm editing the MARC records. I figure our users probably don't need the subject headings in French, Spanish, German, etc. We're a very small library--the number of records our cataloging department* adds annually is in the low three figures--so that might not be the best solution for you. It does work, though.
If some/many/most of your records come via Z39.50 and contain 650 authorities, the "IT cost" of retaining a 650 (that another bibliographer/cataloguer thought was useful) is trivial -- and the 650 could be useful one day to someone else further down the line -- so I would suggest not deleting. _However_, fine tuning this to LoC 650s only is perhaps more challenging. Have you looked at using e.g. 690 for your local authorities and not displaying them in OPAC? You can eliminate them in your OPAC display by putting a suitable code# in your MARC frameworks › BKS framework structure › Tag 690 subfield structure › Edit subfields constraints > Advanced constraints: e.g. 6 which takes it out of OPAC but leaves it editable by staff. Best season's greetings -- Paul
-----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Tami Wilkerson Sent: Friday, December 07, 2018 11:22 AM To: koha@lists.katipo.co.nz Subject: [Koha] Subject Headings Display in OPAC Hello,
Koha newbie here, so please pardon my ignorance! Is there a way to choose which 650 fields display in the OPAC? I would like ours to only show Library of Congress subjects (650 0_0) and suppress all others.
Thank you, Tami
Tami Wilkerson Library Program Lead/Librarian Columbia River Inter-Tribal Fish Commission StreamNet Regional Library 700 NE Multnomah St. Suite 515 Portland, OR 97232 twilkerson@critfc.org<mailto:twilkerson@critfc.org> / 503.736.3581
On Fri, Dec 07, 2018 at 04:21:52PM +0000, Tami Wilkerson wrote:
Koha newbie here, so please pardon my ignorance! Is there a way to choose which 650 fields display in the OPAC? I would like ours to only show Library of Congress subjects (650 0_0) and suppress all others.
You can customize this by editing some XSLT. Check the system preference OPACXSLTDetailsDisplay; if it's set to "default" then your Koha is probably using this file to build the detailed record display: /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl You can customize this to display a 650 field only if indicator 2 is 0. I haven't done this, so take this with a grain of salt, but I believe the way to proceed is to copy this file, edit the copy -- check it with _xsltproc_, or with _xmllint --noout_ if you just want to make sure it's at least well-formed XML -- and then change the system preference to use the edited copy and see if it's working the way you want. (Be prepared to change it back quickly!) The file we have (Koha 18.05) deals with subject fields in a block that begins like this: 683 <xsl:if test="marc:datafield[substring(@tag, 1, 1) = '6' and not(@tag=655)]"> 684 <span class="results_summary subjects"><span class="label">Subject(s): </span> 685 <xsl:for-each select="marc:datafield[substring(@tag, 1, 1) = '6'][not(@tag=655)]"> It shouldn't be hard to find in your version, even if the line numbers are different. Try changing the XPath criteria from this: marc:datafield[substring(@tag, 1, 1) = '6' and not(@tag=655)] To something like this: marc:datafield[substring(@tag, 1, 1) = '6' and not(@tag=655) and @ind2=0] But be careful, and check the LC docs for 6xx fields, since indicator 2 doesn't have the same meaning in all of them. I'm not a cataloger, so I'll leave that to you (or others) to figure out. :-) HTH, Paul. -- Paul Hoffman <paul@flo.org> Software Services Manager Fenway Library Organization 550 Huntington Ave. Boston, MA 02115 (617) 442-2384
participants (4)
-
King, Fred -
Paul A -
Paul Hoffman -
Tami Wilkerson