Ignore:
Timestamp:
2019-09-19T13:43:31+12:00 (5 years ago)
Author:
kjdon
Message:

not all ccs pages has hierarchy element, so just test on s1.collection

File:
1 edited

Legend:

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

    r33285 r33492  
    5555
    5656    <!-- optional cgi-params for links to document pages -->
    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>
     57    <xsl:variable name="opt-doc-link-args">p.s=<gsvar:this-service/><xsl:if test="/page/pageRequest/paramList/param[@name ='s1.collection']">&amp;ck=TextQuery</xsl:if>
    5858    </xsl:variable>
    5959
Note: See TracChangeset for help on using the changeset viewer.