Bug 13145 - UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield
Summary: UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Frédéric Demians
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-25 11:52 UTC by Frédéric Demians
Modified: 2015-06-04 23:33 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 13145 UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield (1.72 KB, patch)
2014-10-25 11:56 UTC, Frédéric Demians
Details | Diff | Splinter Review
Bug 13145 UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield (1.78 KB, patch)
2014-10-26 06:07 UTC, Chris Cormack
Details | Diff | Splinter Review
[PASSED QA] Bug 13145 UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield (1.92 KB, patch)
2014-10-26 08:56 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Demians 2014-10-25 11:52:07 UTC
On OPAC detail page, subject fields are not displayed when they are not linked
to authorities ($9 subfield). This is due to a misplelling in UNIMARC XSL
detail page.
Comment 1 Frédéric Demians 2014-10-25 11:56:30 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2014-10-26 06:07:27 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2014-10-26 08:56:24 UTC
Created attachment 32766 [details] [review]
[PASSED QA] Bug 13145 UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield

On OPAC detail page, subject fields are not displayed when they are not linked
to authorities ($9 subfield). This is due to a misplelling in UNIMARC XSL
detail page.

TO TEST:

(1) On a Koha UNIMARC, find out a biblio record with a 610 field, without $9
    subfield. Something like:

    610 1 $a Aliment -- Approvisionnement -- Europe -- Histoire

    Or add such a field to an existing record.

(2) Check that OPACXSLTDetailsDisplay is set to 'default'

(3) See this record on OPAC detail page. You must see 'Subject: ' => nothing
    after the 'Subject' label. If your record contains several 610 fields
    without $9, the | character will appear, separating no content.

(4) Apply the patch.

(5) Reload the page seen at step (3): subject is displayed now.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, tested on a UNIMARC installation.
Small XSLT change.
Comment 4 Tomás Cohen Arazi (tcohen) 2014-10-30 03:36:17 UTC
Patch pushed to master.

Thanks Frédéric!