Changeset 25434

Show
Ignore:
Timestamp:
19.04.2012 15:56:27 (8 years ago)
Author:
sjm84
Message:

Changed the search forms to be a more RESTful style

Files:
1 modified

Legend:

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

    r24998 r25434  
    101101    <xsl:template name="queryPage"> 
    102102        <xsl:for-each select="pageResponse/service"> 
    103             <form name="QueryForm" method="get" action="{$library_name}"> 
     103            <form name="QueryForm" method="get" action="{$library_name}/collection/{$collName}/search/{@name}"> 
    104104                <div> 
    105105                    <input type="hidden" name="a" value="q"/> 
    106106                    <input type="hidden" name="sa"><xsl:attribute name="value"><xsl:value-of select="/page/pageRequest/@subaction"/></xsl:attribute></input> 
    107107                    <input type="hidden" name="rt" value="rd"/> 
    108                     <input type="hidden" name="s" value="{@name}"/> 
    109                     <input type="hidden" name="c" value="{$collName}"/> 
    110108                    <xsl:if test="not(paramList/param[@name='startPage'])"> 
    111109                        <input type="hidden" name="startPage" value="1"/>