[Koha-bugs] [Bug 31106] Error searching for analytics in detail view

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 8 08:35:09 CEST 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|BLOCKED                     |Failed QA

--- Comment #16 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Please provide feedback for this change:

-                        <xsl:attribute
name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:(<xsl:value-of
select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'],
'/', ''), true())"/>)</xsl:attribute>

+                        <xsl:attribute
name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of
select="str:encode-uri($title_query, true())"/></xsl:attribute>

You remove translate ?

Similar example:
-                                <xsl:attribute
name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of
select="str:encode-uri(translate(marc:subfield[@code='t'], '()', ''),
true())"/><xsl:if test="marc:subfield[@code='a']">+AND+au:<xsl:value-of
select="str:encode-uri(translate(marc:subfield[@code='a'], '()', ''),
true())"/></xsl:if></xsl:attribute>

+                                    <xsl:with-param name="term"><xsl:value-of
select="marc:subfield[@code='t']"/></xsl:with-param>

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


More information about the Koha-bugs mailing list