Lines 26-31
Link Here
|
26 |
|
26 |
|
27 |
<xsl:variable name="SubjectModifier"><xsl:if test="marc:sysprefs/marc:syspref[@name='TraceCompleteSubfields']='1'">,complete-subfield</xsl:if></xsl:variable> |
27 |
<xsl:variable name="SubjectModifier"><xsl:if test="marc:sysprefs/marc:syspref[@name='TraceCompleteSubfields']='1'">,complete-subfield</xsl:if></xsl:variable> |
28 |
<xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/> |
28 |
<xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/> |
|
|
29 |
<xsl:variable name="AuthorLinkSortBy" select="marc:sysprefs/marc:syspref[@name='AuthorLinkSortBy']"/> |
30 |
<xsl:variable name="AuthorLinkSortOrder" select="marc:sysprefs/marc:syspref[@name='AuthorLinkSortOrder']"/> |
29 |
<xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/> |
31 |
<xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/> |
30 |
<xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='OPACDisplay856uAsImage']"/> |
32 |
<xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='OPACDisplay856uAsImage']"/> |
31 |
<xsl:variable name="OPACTrackClicks" select="marc:sysprefs/marc:syspref[@name='TrackClicks']"/> |
33 |
<xsl:variable name="OPACTrackClicks" select="marc:sysprefs/marc:syspref[@name='TrackClicks']"/> |
Lines 174-179
Link Here
|
174 |
<xsl:call-template name="showAuthor"> |
176 |
<xsl:call-template name="showAuthor"> |
175 |
<xsl:with-param name="authorfield" select="marc:datafield[(@tag=100 or @tag=110 or @tag=111)]"/> |
177 |
<xsl:with-param name="authorfield" select="marc:datafield[(@tag=100 or @tag=110 or @tag=111)]"/> |
176 |
<xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> |
178 |
<xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> |
|
|
179 |
<xsl:with-param name="AuthorLinkSortOrder" select="$AuthorLinkSortOrder"/> |
180 |
<xsl:with-param name="AuthorLinkSortBy" select="$AuthorLinkSortBy"/> |
177 |
<xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> |
181 |
<xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> |
178 |
<xsl:with-param name="theme" select="$theme"/> |
182 |
<xsl:with-param name="theme" select="$theme"/> |
179 |
</xsl:call-template> |
183 |
</xsl:call-template> |
Lines 182-187
Link Here
|
182 |
<!-- #13382 suppress 700$i and 7xx/@ind2=2 --> |
186 |
<!-- #13382 suppress 700$i and 7xx/@ind2=2 --> |
183 |
<xsl:with-param name="authorfield" select="marc:datafield[(@tag=700 or @tag=710 or @tag=711) and not(@ind2=2) and not(marc:subfield[@code='i'])]"/> |
187 |
<xsl:with-param name="authorfield" select="marc:datafield[(@tag=700 or @tag=710 or @tag=711) and not(@ind2=2) and not(marc:subfield[@code='i'])]"/> |
184 |
<xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> |
188 |
<xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> |
|
|
189 |
<xsl:with-param name="AuthorLinkSortOrder" select="$AuthorLinkSortOrder"/> |
190 |
<xsl:with-param name="AuthorLinkSortBy" select="$AuthorLinkSortBy"/> |
185 |
<xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> |
191 |
<xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> |
186 |
<xsl:with-param name="theme" select="$theme"/> |
192 |
<xsl:with-param name="theme" select="$theme"/> |
187 |
</xsl:call-template> |
193 |
</xsl:call-template> |
Lines 1708-1713
Link Here
|
1708 |
<xsl:template name="showAuthor"> |
1714 |
<xsl:template name="showAuthor"> |
1709 |
<xsl:param name="authorfield" /> |
1715 |
<xsl:param name="authorfield" /> |
1710 |
<xsl:param name="UseAuthoritiesForTracings" /> |
1716 |
<xsl:param name="UseAuthoritiesForTracings" /> |
|
|
1717 |
<xsl:param name="AuthorLinkSortBy"/> |
1718 |
<xsl:param name="AuthorLinkSortOrder"/> |
1711 |
<xsl:param name="materialTypeLabel" /> |
1719 |
<xsl:param name="materialTypeLabel" /> |
1712 |
<xsl:param name="theme" /> |
1720 |
<xsl:param name="theme" /> |
1713 |
<xsl:if test="count($authorfield)>0"> |
1721 |
<xsl:if test="count($authorfield)>0"> |
Lines 1737-1746
Link Here
|
1737 |
<a> |
1745 |
<a> |
1738 |
<xsl:choose> |
1746 |
<xsl:choose> |
1739 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
1747 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
1740 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:"<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/>"</xsl:attribute> |
1748 |
<xsl:attribute name="href"> |
|
|
1749 |
<xsl:text>/cgi-bin/koha/opac-search.pl?q=an:</xsl:text> |
1750 |
<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/> |
1751 |
<xsl:if test="$AuthorLinkSortBy!='default'"> |
1752 |
<xsl:text>&sortby=</xsl:text> |
1753 |
<xsl:value-of select="$AuthorLinkSortBy"/> |
1754 |
<xsl:text>_</xsl:text> |
1755 |
<xsl:value-of select="$AuthorLinkSortOrder" /> |
1756 |
</xsl:if> |
1757 |
</xsl:attribute> |
1741 |
</xsl:when> |
1758 |
</xsl:when> |
1742 |
<xsl:otherwise> |
1759 |
<xsl:otherwise> |
1743 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute> |
1760 |
<xsl:attribute name="href"> |
|
|
1761 |
<xsl:text>/cgi-bin/koha/opac-search.pl?q=au:"</xsl:text> |
1762 |
<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/> |
1763 |
<xsl:text>"</xsl:text> |
1764 |
<xsl:if test="$AuthorLinkSortBy!='default'"> |
1765 |
<xsl:text>&sortby=</xsl:text> |
1766 |
<xsl:value-of select="$AuthorLinkSortBy"/> |
1767 |
<xsl:text>_</xsl:text> |
1768 |
<xsl:value-of select="$AuthorLinkSortOrder" /> |
1769 |
</xsl:if> |
1770 |
</xsl:attribute> |
1744 |
</xsl:otherwise> |
1771 |
</xsl:otherwise> |
1745 |
</xsl:choose> |
1772 |
</xsl:choose> |
1746 |
<xsl:attribute name="class">contributors</xsl:attribute> |
1773 |
<xsl:attribute name="class">contributors</xsl:attribute> |