Changeset 25608 for main


Ignore:
Timestamp:
2012-05-16T12:10:28+12:00 (12 years ago)
Author:
sjm84
Message:

Fixing Cross Collection searching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/siteConfig.xml

    r25569 r25608  
    2121                <!-- this format is used for the search results -->
    2222                <gsf:template match="documentNode">
    23                     <td><a><xsl:attribute name='href'>?a=d&amp;c=<xsl:value-of select='@collection'/>&amp;d=<xsl:value-of select='@nodeID'/><xsl:if test="@nodeType='leaf'">&amp;sib=1</xsl:if>&amp;dt=<xsl:value-of select='@docType'/>&amp;p.a=q&amp;&amp;p.s=TextQuery&amp;p.c=</xsl:attribute><gsf:icon/></a></td>
    24                     <td>[<a href='?a=p&amp;amp;sa=about&amp;amp;c={@collection}'><xsl:value-of select='@collection'/></a>]</td>
     23                    <td><a><xsl:attribute name='href'><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select='@collection'/>/document/<xsl:value-of select='@nodeID'/></xsl:attribute><gsf:icon/></a></td>
    2524                    <td><gsf:metadata name='Title'/></td>
     25                    <td>[<a href='{$library_name}/collection/{@collection}/page/about'><xsl:value-of select='@collection'/></a>]</td>
    2626                </gsf:template>
    2727            </format>
Note: See TracChangeset for help on using the changeset viewer.