[Koha-bugs] [Bug 4276] "Related subjects" search is OPAC doesn't work with chained subject terms

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Sun Feb 28 22:08:06 CET 2010


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4276


Garry Collum <gcollum at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcollum at gmail.com




--- Comment #2 from Garry Collum <gcollum at gmail.com>  2010-02-28 21:08:06 ---
I was able to get the desired affect by replacing

<xsl:attribute name="href">/cgi/bin/koha/catalogue/search.pl?1=su:<xsl:value-of
select="marc:subfield[@code='a']"/></xsl.attribute>

in MARC21slim2intranetDetail.xsl with

<xsl:attribute
name="href">/cgi-bin/koha/catalogue/search.pl?q=su:<xsl:call-template
name="chopPunctuation">
        <xsl:with-param name="chopString">
            <xsl:call-template name="subfieldSelect">
                <xsl:with-param name="codes">abcdvxyz</xsl:with-param>
            </xsl:call-template>
        </xsl:with-param>
    </xsl:call-template>
</xsl:attribute>

But if any keywords were added to the link, other than what was in 650 subfield
a, no results were returned.  Are other subfields in 650 indexed?  Is it just
my setup?


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list