Changeset 26464

Show
Ignore:
Timestamp:
15.11.2012 01:01:12 (7 years ago)
Author:
davidb
Message:

Default level for quick-search box changed to use the default value of the service, rather than assume the default is "Sec".

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r26461 r26464  
    408408                                    </xsl:when> 
    409409                                    <xsl:otherwise> 
    410                                         <xsl:text>Sec</xsl:text> 
     410                                            <xsl:value-of select="/page/pageResponse/collection/serviceList/service[@name='TextQuery']/paramList/param[@name = 'level']/@default"/> 
    411411                                    </xsl:otherwise> 
    412412                                </xsl:choose>