https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29185
--- Comment #22 from Marcel de Rooy <[email protected]> --- (In reply to Tomás Cohen Arazi from comment #20) > I think quoting here is a bit naive... Can we make it use the > quote_search_terms XSLT template we have: > > https://git.koha-community.org/Koha-community/Koha/src/branch/master/koha- > tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl#L589 > > Example usage: > https://git.koha-community.org/Koha-community/Koha/src/branch/master/koha- > tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl#L219-L223 Could you elaborate on this one please? Which construction do you object to ? <xsl:value-of select="normalize-space(translate(substring-before(marc:subfield[@code=$cnum_subfield],')'),'()',''))"/> OR <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=ti,phr:',translate(marc:subfield[@code=$title_subfield], '()', '')),false())"/> In both cases it is not just about quoting a URI part. Note that they are not completely new inventions, but adjusted existent constructs moved to a central template. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
