Lines 1065-1077
Link Here
|
1065 |
<xsl:otherwise> |
1065 |
<xsl:otherwise> |
1066 |
<xsl:choose> |
1066 |
<xsl:choose> |
1067 |
<xsl:when test="$OPACResultsBranch='homebranch'"> |
1067 |
<xsl:when test="$OPACResultsBranch='homebranch'"> |
1068 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1068 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1069 |
<xsl:value-of select="items:homebranch"/> |
1069 |
<xsl:value-of select="items:homebranch"/> |
1070 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1070 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1071 |
<xsl:text> (</xsl:text> |
1071 |
<xsl:text> (</xsl:text> |
1072 |
<xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> |
1072 |
<xsl:value-of select="count(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch)))"/> |
1073 |
<xsl:text>)</xsl:text> |
1073 |
<xsl:text>)</xsl:text> |
1074 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1074 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1075 |
</xsl:for-each> |
1075 |
</xsl:for-each> |
1076 |
</xsl:when> |
1076 |
</xsl:when> |
1077 |
<xsl:when test="$OPACResultsBranch='holdingbranch'"> |
1077 |
<xsl:when test="$OPACResultsBranch='holdingbranch'"> |
1078 |
- |
|
|