summaryrefslogtreecommitdiff
path: root/gentoobrowse/xslt/base.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse/xslt/base.xslt')
-rw-r--r--gentoobrowse/xslt/base.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/xslt/base.xslt b/gentoobrowse/xslt/base.xslt
index 87bffca..e1c721f 100644
--- a/gentoobrowse/xslt/base.xslt
+++ b/gentoobrowse/xslt/base.xslt
@@ -39,7 +39,7 @@
<form id="search" class="popup" action="/search" method="get">
<h1>Site search</h1>
<input type="search" name="criteria" placeholder="Search criteria" required="required" autofocus="autofocus">
- <xsl:attribute name="value"><xsl:value-of select="/gentoo/project2:params/param[@name='criteria']/@value" /></xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="/gentoo/project2:params/criteria" /></xsl:attribute>
</input>
<input type="submit" value="Search" class="submit" />
<input type="submit" value="Cancel" class="submit" onclick="return hideForm('#search');" />