|
Lines 1366-1371
Link Here
|
| 1366 |
</xsl:for-each> |
1366 |
</xsl:for-each> |
| 1367 |
</xsl:when> |
1367 |
</xsl:when> |
| 1368 |
<xsl:when test="$OPACResultsUnavailableGroupingBy='substatus'"> |
1368 |
<xsl:when test="$OPACResultsUnavailableGroupingBy='substatus'"> |
|
|
1369 |
<!-- Only group by substatus, do not list branch names and individual call numbers. Meant for large consortia --> |
| 1370 |
<xsl:for-each select="$unavailable_items[not(items:substatus=preceding-sibling::*[items:status='reallynotforloan' or items:status='other']/items:substatus)]"> |
| 1371 |
<xsl:sort select="items:substatus"/> |
| 1372 |
<xsl:variable name="current_substatus" select="items:substatus"/> |
| 1373 |
<xsl:call-template name="listCallNumbers"> |
| 1374 |
<xsl:with-param name="items" select="$unavailable_items[items:substatus=$current_substatus]"/> |
| 1375 |
<xsl:with-param name="max" select="0"/> |
| 1376 |
<xsl:with-param name="status_text"> |
| 1377 |
<xsl:if test="items:status='other'"> |
| 1378 |
<xsl:value-of select="exsl:node-set($other_status_list)/status[@english=$current_substatus]"/> |
| 1379 |
</xsl:if> |
| 1380 |
<xsl:if test="items:status='reallynotforloan'"> |
| 1381 |
<xsl:value-of select="$current_substatus"/> |
| 1382 |
</xsl:if> |
| 1383 |
</xsl:with-param> |
| 1384 |
<xsl:with-param name="class_block" select="concat('unavailable_',$current_substatus)"/> |
| 1385 |
<xsl:with-param name="class_status" select="UnavailableSubstatus"/> |
| 1386 |
</xsl:call-template> |
| 1387 |
</xsl:for-each> |
| 1369 |
</xsl:when> |
1388 |
</xsl:when> |
| 1370 |
</xsl:choose> |
1389 |
</xsl:choose> |
| 1371 |
</span></xsl:if> |
1390 |
</span></xsl:if> |
| 1372 |
- |
|
|