Changeset 20230

Show
Ignore:
Timestamp:
12.08.2009 12:56:11 (10 years ago)
Author:
kjdon
Message:

(temporary?) fix for ct arg not getting saved when changing search form types. have explicitly added it to form.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/gs2/transform/pref.xsl

    r18392 r20230  
    4343  <xsl:template match="pageResponse"> 
    4444    <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/> 
     45    <xsl:variable name="collType" select="/page/pageRequest/paramList/param[@name='ct']/@value"/> 
    4546    <!-- check whether these search modes are supported -->     
    4647    <xsl:variable name="simplestatus"><xsl:choose><xsl:when test="/page/pageResponse//service[@name='TextQuery']">y</xsl:when><xsl:otherwise>n</xsl:otherwise></xsl:choose></xsl:variable> 
     
    6061    <input type='hidden' name='sa' value='pref'/> 
    6162        <input type='hidden' name='c' value="{$collName}"/> 
     63    <input type='hidden' name='ct' value="{$collType}"/> 
    6264         
    6365    <table width="800">