[Koha-bugs] [Bug 8948] MARC21 field 787 doesn't display

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 9 23:52:28 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8948

--- Comment #35 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hm, but: 

+        <!--  787 Other Relationship Entry  -->
+        <xsl:if test="marc:datafield[@tag=787]">
+        <span class="results_summary other_relationship_entry"><span
class="label">Other related works: </span>
+        <xsl:for-each select="marc:datafield[@tag=580]">
+            <span class="linking_complexity_note">
+                <xsl:call-template name="subfieldSelect">
+                    <xsl:with-param name="codes">a</xsl:with-param>
+                </xsl:call-template>
+                <xsl:text> </xsl:text>
+            </span>
+        </xsl:for-each>

You only display the 580 of a 787 exists and it displays after the "Other
related works" which is the 787 label.

The problem is: 580 might belong to ANY 7xx field, not just the 787. In the
documentation there are examples for 773 and 785 respectively. 

The problem is not if there are mulitple 787, but if we give a totally wrong
context here.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list