Changeset 28559

Show
Ignore:
Timestamp:
30.10.2013 16:53:01 (6 years ago)
Author:
jlwhisler
Message:

Fixed an idiosyncrasy so that when there is only one search index, the index field name will appear in the quick search box -- demonstrated in the Simple Image Collection. This looks better when the index is listed before the search box, so this was fixed too. Now the index label (or index drop box with 2+ indexes) appears before the search box. Related to previous commit.

Files:
1 modified

Legend:

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

    r26366 r28559  
    7373            <xsl:when test="count(option) = 1"> 
    7474                <xsl:if test="$hideSingle = 'false'"> 
    75                     <xsl:value-of select="option/displayItem[@name='name']"/> 
     75                    <xsl:value-of select="option/displayItem[@name='name']"/>:  
    7676                </xsl:if> 
    7777                <input type='hidden' name='{$ns}{@name}'><xsl:attribute name='value'><xsl:value-of  select='option/@name'/></xsl:attribute></input>