Changeset 26136


Ignore:
Timestamp:
2012-08-29T10:41:40+12:00 (9 years ago)
Author:
sjm84
Message:

Fixed query terms disappearing in Form and Advanced searches

File:
1 edited

Legend:

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

    r26119 r26136  
    138138                    <xsl:for-each select="paramList/param">
    139139                        <xsl:choose>
    140                             <xsl:when test="@name='case' or @name='stem' or @name='accent'">
     140                            <xsl:when test="@name='case' or @name='stem' or @name='accent' or @name = 'maxDocs' or @name = 'hitsPerPage'">
    141141                            </xsl:when>
    142142                            <xsl:when test="@type='multi'">
    143143                                <xsl:apply-templates select="."><xsl:with-param name="ns" select="$ns"/></xsl:apply-templates>
    144144                            </xsl:when>
    145                             <xsl:when test="@name = 'maxDocs' or @name = 'hitsPerPage'"></xsl:when>
    146145                            <xsl:otherwise>
    147146                                <xsl:variable name="pvalue"><xsl:apply-templates select="." mode="calculate-default"><xsl:with-param name="ns" select="$ns"/></xsl:apply-templates></xsl:variable>
     
    548547        <tr class="queryfieldrow">
    549548            <xsl:for-each select="param">
    550                 <xsl:variable name="pname" select="@name"/>
     549                <xsl:variable name="pname"><xsl:value-of select="$ns"/><xsl:value-of select="@name"/></xsl:variable>
    551550                <xsl:variable name="values" select="/page/pageRequest/paramList/param[@name=$pname]/@value"/>
    552551                <td class="queryfieldcell">
Note: See TracChangeset for help on using the changeset viewer.