[Koha-bugs] [Bug 26679] Elasticsearch and Genre/Form Terms: "No results found" after clicking genre term URL in opac-detail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 22 21:17:51 CET 2020


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

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew at bywatersolutions.com

--- Comment #2 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Looks like an XSLT issue:

  <xsl:when test="$TraceSubjectSubdivisions='1'">
    <xsl:attribute
name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:call-template
name="subfieldSelectSubject">
        <xsl:with-param name="codes">avxyz</xsl:with-param>
        <xsl:with-param name="delimeter"> AND </xsl:with-param>
        <xsl:with-param name="prefix">(su<xsl:value-of
select="$SubjectModifier"/>:<xsl:value-of
select="$TracingQuotesLeft"/></xsl:with-param>
        <xsl:with-param name="suffix"><xsl:value-of
select="$TracingQuotesRight"/>)</xsl:with-param>
        <xsl:with-param name="urlencode">1</xsl:with-param>
    </xsl:call-template>
    </xsl:attribute>
</xsl:when>
<xsl:otherwise>
    <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su<xsl:value-of
select="$SubjectModifier"/>:<xsl:value-of
select="$TracingQuotesLeft"/><xsl:value-of
select="str:encode-uri(marc:subfield[@code='a'], true())"/><xsl:value-of
select="$TracingQuotesRight"/></xsl:attribute>
</xsl:otherwise>

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


More information about the Koha-bugs mailing list