Changeset 32080

Show
Ignore:
Timestamp:
27.11.2017 12:22:01 (23 months ago)
Author:
kjdon
Message:

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

Files:
1 modified

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">