[Koha-bugs] [Bug 17867] Improve display of source (MARC21 773) in result list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 15 13:19:30 CEST 2017


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

--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Comment on attachment 59189
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59189
Bug 17867 Improve display of MARC21 773 in result list

Review of attachment 59189:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17867&attachment=59189)
-----------------------------------------------------------------

Looking at the code this isn't quite right yet and given the age of the patch I
am not sure if Karen will still be available to work on this. I am resetting
the assignee from "Galen" to default, marking this as NEW for now.

Note: The behaviour of $a and $t described here might be something specific to
our data export as I have recently learned. Changing it won't hurt anyone, but
it might not generally apply.

::: koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl
@@ +603,5 @@
>      <span class="label">Source: </span>
>              <xsl:value-of select="marc:subfield[@code='t']"/>
> +     </span> 
> +            </xsl:if>
> +            <xsl:if test="marc:subfield[@code='a']">

I think this condition needs to be modified to check if either a or t exist in
order to decide if the label should be displayed.

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


More information about the Koha-bugs mailing list