]> git.plutz.net Git - serve0/blobdiff - templates/filterdiag.html.sh
speed up in filtering
[serve0] / templates / filterdiag.html.sh
index 006c876bee5aa69d3d651de8b4e6987c10119036..5fbf2c3d2228313af61bcca1f394b27f19f31bae 100755 (executable)
@@ -2,7 +2,7 @@
 
 cat <<FilterEnd
   <div class="panel" id="search" style="display: block;">
-    <form action="index.cgi" method="get" accept-charset="UTF-8">
+    <form action="?" method="get" accept-charset="UTF-8">
       <input type="text" name="s" value="$search" placeholder="Search">
       Order by:<select size="1" name="o">
        <option>Name</option>
@@ -28,7 +28,7 @@ cat <<FilterEnd
     <a class="panel" href="#" onclick="javascript:hide_block('advfilter');$(for n in {1..9}; do echo "hide_inline('filter$n');"; done)show_block('search')">Hide</a>
     <hr>
     Up to <b>10</b> filter boxes will appear as you start selecting tags. You can select <b>multiple</b> tags in each box by holding down the <b>Ctrl</b>-key. Click the "<b>Filter!</b>" button when you are ready.
-    <form action="filter.cgi" method="post" accept-charset="UTF-8">
+    <form action="?action=filter" method="post" accept-charset="UTF-8">
     $(for n in {0..9}; do
       hideall="$(sed -rn "s;^([^:]+):.*$;hide_inline('${n}_\\1')\\;;p" <<<"$taglist" |sort -u)hide_inline('${n}_none');"
       echo "