aboutsummaryrefslogtreecommitdiff
path: root/index.htm.tmpl
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-12-08 20:35:56 +0100
committerarf20 <aruizfernandez05@gmail.com>2025-12-08 20:35:56 +0100
commit9dac0a21e1466c52e60b049c0b84bea2680aa3b8 (patch)
tree54352b425e28f402c68f3253225d6d2a1d2528db /index.htm.tmpl
parentdd5a1ea40bc3d9cbf7005222569eda55a108442e (diff)
downloadarfnet2-search-master.tar.gz
arfnet2-search-master.zip
fixed types of queriesHEADmaster
Diffstat (limited to 'index.htm.tmpl')
-rw-r--r--index.htm.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.htm.tmpl b/index.htm.tmpl
index 84d1de9..37728de 100644
--- a/index.htm.tmpl
+++ b/index.htm.tmpl
@@ -113,7 +113,7 @@
<main>
<h2 class="center">Search</h2>
<p>Search all of the ARFNET content fast</p>
- <form class="searchform" action="/query" method="get">
+ <form class="searchform" action="/search/query" method="get">
<div class="box form-inline">
<input class="input" type="text" name="q" value="%s">
<button type="submit">Search</button><br>
@@ -123,13 +123,13 @@
<summary class="collapse-title">Advanced</summary>
<p>
<label class="label">Search type</label>
- <input type="radio" id="substr" name="t" value="s" checked="checked">
+ <input type="radio" id="substr" name="t" value="s" %s>
<label for="substr">substring</label>
- <input type="radio" id="substr_nocase" name="t" value="i">
+ <input type="radio" id="substr_nocase" name="t" value="i" %s>
<label for="substr_nocase">case insensitive substring</label>
- <input type="radio" id="exact" name="t" value="e">
+ <input type="radio" id="exact" name="t" value="e" %s>
<label for="exact">exact</label>
- <input type="radio" id="regex" name="t" value="r">
+ <input type="radio" id="regex" name="t" value="r" %s>
<label for="regex">regex</label>
</p>
<p>