Changeset 32719


Ignore:
Timestamp:
12/19/18 14:20:11 (2 years ago)
Author:
kjdon
Message:

added ck arg to doc link if we are in cross coll search. Also removed an erroneous ]

File:
1 edited

Legend:

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

    r32652 r32719  
    5555
    5656    <!-- optional cgi-params for links to document pages -->
    57     <xsl:variable name="opt-doc-link-args">p.s=<gsvar:this-service/>
     57    <xsl:variable name="opt-doc-link-args">p.s=<gsvar:this-service/><xsl:if test="/page/pageResponse/hierarchy and /page/pageRequest/paramList/param[@name ='s1.collection']">&amp;ck=TextQuery</xsl:if>
    5858    </xsl:variable>
    5959
     
    183183        <xsl:param name="collection"/>
    184184        <xsl:for-each select="/page/pageResponse/highlightSnippetList/highlightSnippet[@nodeID = $nodeHASH]">
    185           <xsl:if test="not($collection) or $collection = @collection]">
     185          <xsl:if test="not($collection) or $collection = @collection">
    186186                        <tr>
    187187                            <td>
Note: See TracChangeset for help on using the changeset viewer.