From: Garry Collum Date: Sat, 20 Mar 2010 01:25:35 +0000 (-0400) Subject: Bug 4276: Proposed fix for "Related Subjects" links in Opac. X-Git-Tag: v3.00.06~7 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=7a7e8f59350c86f3a2ffdbe36b38eca2675b630c;hp=aafc37317da05b0ae26718ad5a51cedb87f7f580;p=koha.git Bug 4276: Proposed fix for "Related Subjects" links in Opac. Adds fields other than 'a' to the links for subject headings in the Opac details page. Also adds subfield b of a Corporate Author (710) to the appropriate link. Otherwise you may have a link with "United States" instead of "United States. Public Works Adminstration" Another patch needs to be sent for the Intranet. --- diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index b237c64e72..ffd183620f 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -100,7 +100,14 @@ /cgi-bin/koha/opac-search.pl?q=an: - /cgi-bin/koha/opac-search.pl?q=au: + /cgi-bin/koha/opac-search.pl?idx=au&q= + + + ab + + + + @@ -279,7 +286,14 @@ /cgi-bin/koha/opac-search.pl?q=an: - /cgi-bin/koha/opac-search.pl?q=su: + /cgi-bin/koha/opac-search.pl?idc=su&q= + + + abcdvxyz + + + +