Lines 39-44
Link Here
|
39 |
<xsl:variable name="singleBranchMode" select="1"/> |
39 |
<xsl:variable name="singleBranchMode" select="1"/> |
40 |
<xsl:variable name="OPACTrackClicks" select="marc:sysprefs/marc:syspref[@name='TrackClicks']"/> |
40 |
<xsl:variable name="OPACTrackClicks" select="marc:sysprefs/marc:syspref[@name='TrackClicks']"/> |
41 |
<xsl:variable name="BiblioDefaultView" select="marc:sysprefs/marc:syspref[@name='BiblioDefaultView']"/> |
41 |
<xsl:variable name="BiblioDefaultView" select="marc:sysprefs/marc:syspref[@name='BiblioDefaultView']"/> |
|
|
42 |
<xsl:variable name="resultsMaxItems" select="marc:sysprefs/marc:syspref[@name='resultsMaxItems']"/> |
42 |
<xsl:variable name="leader" select="marc:leader"/> |
43 |
<xsl:variable name="leader" select="marc:leader"/> |
43 |
<xsl:variable name="leader6" select="substring($leader,7,1)"/> |
44 |
<xsl:variable name="leader6" select="substring($leader,7,1)"/> |
44 |
<xsl:variable name="leader7" select="substring($leader,8,1)"/> |
45 |
<xsl:variable name="leader7" select="substring($leader,8,1)"/> |
Lines 1282-1288
Link Here
|
1282 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> |
1283 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> |
1283 |
<span class="CallNumberAndLabel"> |
1284 |
<span class="CallNumberAndLabel"> |
1284 |
<span class="LabelCallNumber">Call number: </span> |
1285 |
<span class="LabelCallNumber">Call number: </span> |
1285 |
<span class="CallNumber"><xsl:value-of select="items:itemcallnumber"/><xsl:if test="count(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch)))>1"><xsl:text>, ..</xsl:text></xsl:if></span> |
1286 |
<span class="CallNumber"> |
|
|
1287 |
<xsl:for-each select="$available_items[position() <= $resultsMaxItems]"> |
1288 |
<xsl:value-of select="items:itemcallnumber"/> |
1289 |
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> |
1290 |
</xsl:for-each> |
1291 |
<xsl:if test="count(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch)))>$resultsMaxItems"><xsl:text>, ..</xsl:text></xsl:if> |
1292 |
</span> |
1286 |
</span> |
1293 |
</span> |
1287 |
</xsl:if> |
1294 |
</xsl:if> |
1288 |
<xsl:choose> |
1295 |
<xsl:choose> |
Lines 1302-1311
Link Here
|
1302 |
<xsl:value-of select="count(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch)))"/> |
1309 |
<xsl:value-of select="count(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch)))"/> |
1303 |
<xsl:text>) </xsl:text> |
1310 |
<xsl:text>) </xsl:text> |
1304 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> |
1311 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> |
1305 |
<span class="CallNumberAndLabel"> |
1312 |
<span class="CallNumberAndLabel"> |
1306 |
<span class="LabelCallNumber">Call number: </span> |
1313 |
<span class="LabelCallNumber">Call number: </span> |
1307 |
<span class="CallNumber"><xsl:value-of select="items:itemcallnumber"/><xsl:if test="count(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch)))>1"><xsl:text>, ..</xsl:text></xsl:if></span> |
1314 |
<span class="CallNumber"> |
1308 |
</span> |
1315 |
<xsl:for-each select="$available_items[position() <= $resultsMaxItems]"> |
|
|
1316 |
<xsl:value-of select="items:itemcallnumber"/> |
1317 |
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> |
1318 |
</xsl:for-each> |
1319 |
<xsl:if test="count(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch)))>$resultsMaxItems"><xsl:text>, ..</xsl:text></xsl:if> |
1320 |
</span> |
1321 |
</span> |
1309 |
</xsl:if> |
1322 |
</xsl:if> |
1310 |
<xsl:choose> |
1323 |
<xsl:choose> |
1311 |
<xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when> |
1324 |
<xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when> |
Lines 1322-1331
Link Here
|
1322 |
<xsl:value-of select="count(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch)))"/> |
1335 |
<xsl:value-of select="count(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch)))"/> |
1323 |
<xsl:text>) </xsl:text> |
1336 |
<xsl:text>) </xsl:text> |
1324 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> |
1337 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> |
1325 |
<span class="CallNumberAndLabel"> |
1338 |
<span class="CallNumberAndLabel"> |
1326 |
<span class="LabelCallNumber">Call number: </span> |
1339 |
<span class="LabelCallNumber">Call number: </span> |
1327 |
<span class="CallNumber"><xsl:value-of select="items:itemcallnumber"/><xsl:if test="count(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch)))>1"><xsl:text>, ..</xsl:text></xsl:if></span> |
1340 |
<span class="CallNumber"> |
1328 |
</span> |
1341 |
<xsl:for-each select="$available_items[position() <= $resultsMaxItems]"> |
|
|
1342 |
<xsl:value-of select="items:itemcallnumber"/> |
1343 |
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> |
1344 |
</xsl:for-each> |
1345 |
<xsl:if test="count(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch)))>$resultsMaxItems"><xsl:text>, ..</xsl:text></xsl:if> |
1346 |
</span> |
1347 |
</span> |
1329 |
</xsl:if> |
1348 |
</xsl:if> |
1330 |
<xsl:choose> |
1349 |
<xsl:choose> |
1331 |
<xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when> |
1350 |
<xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when> |
Lines 1362-1368
Link Here
|
1362 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> |
1381 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> |
1363 |
<span class="CallNumberAndLabel"> |
1382 |
<span class="CallNumberAndLabel"> |
1364 |
<span class="LabelCallNumber">Call number: </span> |
1383 |
<span class="LabelCallNumber">Call number: </span> |
1365 |
<span class="CallNumber"><xsl:value-of select="items:itemcallnumber"/><xsl:if test="count(key('item-by-substatus-and-branch', concat(items:substatus, ' ', items:homebranch)))>1"><xsl:text>, ..</xsl:text></xsl:if></span> |
1384 |
<span class="CallNumber"> |
|
|
1385 |
<xsl:for-each select="$reference_items[position() <= $resultsMaxItems]"> |
1386 |
<xsl:value-of select="items:itemcallnumber"/> |
1387 |
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> |
1388 |
</xsl:for-each> |
1389 |
<xsl:if test="count(key('item-by-substatus-and-branch', concat(items:substatus, ' ', items:homebranch)))>$resultsMaxItems"><xsl:text>, ..</xsl:text></xsl:if> |
1390 |
</span> |
1366 |
</span> |
1391 |
</span> |
1367 |
</xsl:if> |
1392 |
</xsl:if> |
1368 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1393 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1369 |
- |
|
|