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