Changeset 32080


Ignore:
Timestamp:
11/27/17 12:22:01 (3 years ago)
Author:
kjdon
Message:

display name for a facet should come from a displayItem inside the facet element

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/query.xsl

    r31655 r32080  
    9999
    100100                            <li class="ui-widget-header" style="text-transform:capitalize; text-align:center;">
    101                                 <xsl:choose>
    102                                     <xsl:when test="/page/pageResponse/collection/serviceList/service[@name = $serviceName]/paramList/param[@name = 'index']">
    103                                         <xsl:value-of select="/page/pageResponse/collection/serviceList/service[@name = $serviceName]/paramList/param[@name = 'index']/option[@name = $indexShortName]/displayItem"/>
    104                                     </xsl:when>
    105                                     <xsl:when test="/page/pageResponse/collection/serviceList/service[@name = $serviceName]/paramList/param[@name = 'complexField']/param[@name = 'fqf']">
    106                                         <xsl:value-of select="/page/pageResponse/collection/serviceList/service[@name = $serviceName]/paramList/param[@name = 'complexField']/param[@name = 'fqf']/option[@name = $indexShortName]/displayItem"/>
    107                                     </xsl:when>
    108                                 </xsl:choose>
     101                              <xsl:value-of select="displayItem[@name='name']"/>
    109102                            </li>
    110103                            <xsl:for-each select="count">
Note: See TracChangeset for help on using the changeset viewer.