Changeset 32719

Show
Ignore:
Timestamp:
19.12.2018 14:20:11 (3 months ago)
Author:
kjdon
Message:

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

Files:
1 modified

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>