Lines 20-26
Link Here
|
20 |
<!-- Option: Display Alternate Graphic Representation (MARC 880) --> |
20 |
<!-- Option: Display Alternate Graphic Representation (MARC 880) --> |
21 |
<xsl:variable name="display880" select="boolean(marc:datafield[@tag=880])"/> |
21 |
<xsl:variable name="display880" select="boolean(marc:datafield[@tag=880])"/> |
22 |
|
22 |
|
23 |
<xsl:variable name="OPACResultsBranchXSLT" select="marc:sysprefs/marc:syspref[@name='OPACResultsBranchXSLT']"/> |
23 |
<xsl:variable name="OPACResultsBranch" select="marc:sysprefs/marc:syspref[@name='OPACResultsBranch']"/> |
24 |
<xsl:variable name="hidelostitems" select="marc:sysprefs/marc:syspref[@name='hidelostitems']"/> |
24 |
<xsl:variable name="hidelostitems" select="marc:sysprefs/marc:syspref[@name='hidelostitems']"/> |
25 |
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/> |
25 |
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/> |
26 |
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/> |
26 |
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/> |
Lines 1064-1070
Link Here
|
1064 |
</xsl:when> |
1064 |
</xsl:when> |
1065 |
<xsl:otherwise> |
1065 |
<xsl:otherwise> |
1066 |
<xsl:choose> |
1066 |
<xsl:choose> |
1067 |
<xsl:when test="$OPACResultsBranchXSLT='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', 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 and $OPACItemLocation='callnum'"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
Lines 1074-1080
Link Here
|
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="$OPACResultsBranchXSLT='holdingbranch'"> |
1077 |
<xsl:when test="$OPACResultsBranch='holdingbranch'"> |
1078 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch))[1])]"> |
1078 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch))[1])]"> |
1079 |
<xsl:value-of select="items:holdingbranch"/> |
1079 |
<xsl:value-of select="items:holdingbranch"/> |
1080 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1080 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
Lines 1099-1105
Link Here
|
1099 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
1099 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
1100 |
|
1100 |
|
1101 |
<xsl:choose> |
1101 |
<xsl:choose> |
1102 |
<xsl:when test="$OPACResultsBranchXSLT='homebranch'"> |
1102 |
<xsl:when test="$OPACResultsBranch='homebranch'"> |
1103 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1103 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1104 |
<xsl:value-of select="items:homebranch"/> |
1104 |
<xsl:value-of select="items:homebranch"/> |
1105 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1105 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
Lines 1109-1115
Link Here
|
1109 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1109 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1110 |
</xsl:for-each> |
1110 |
</xsl:for-each> |
1111 |
</xsl:when> |
1111 |
</xsl:when> |
1112 |
<xsl:when test="$OPACResultsBranchXSLT='holdingbranch'"> |
1112 |
<xsl:when test="$OPACResultsBranch='holdingbranch'"> |
1113 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch))[1])]"> |
1113 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch))[1])]"> |
1114 |
<xsl:value-of select="items:holdingbranch"/> |
1114 |
<xsl:value-of select="items:holdingbranch"/> |
1115 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1115 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |