[Koha-patches] [PATCH] [SIGNED-OFF] Fix for Bug 5175, XSL view doesn't link publisher name to search

Galen Charlton gmcharlt at gmail.com
Fri Nov 12 22:14:43 CET 2010


Hi,

On Fri, Nov 12, 2010 at 3:50 PM, Katrin Fischer
<Katrin.Fischer.83 at web.de> wrote:
>         <span class="results_summary"><span class="label">Publisher: </span>
>             <xsl:for-each select="marc:datafield[@tag=260]">
> +                <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:{marc:subfield[@code='b']}">
> +                    <xsl:call-template name="subfieldSelect">
> +                        <xsl:with-param name="codes">b</xsl:with-param>
> +                    </xsl:call-template>
> +               </a>
> +               <xsl:text> </xsl:text>
>                 <xsl:call-template name="chopPunctuation">
>                   <xsl:with-param name="chopString">
>                     <xsl:call-template name="subfieldSelect">

This patch would have the effect of displaying the publisher twice,
which strikes me as not ideal.  For example, it might look something
like:

Harper Collins New York, N.Y. : Harper Collins,1984.

Regards,

Galen
-- 
Galen Charlton
gmcharlt at gmail.com


More information about the Koha-patches mailing list