Changeset 28559


Ignore:
Timestamp:
2013-10-30T16:53:01+13:00 (10 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.

File:
1 edited

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>
Note: See TracChangeset for help on using the changeset viewer.