Code

src/utils_cgi.c: Use the "search" action to … well … search.
authorFlorian Forster <ff@octo.it>
Fri, 9 Jul 2010 12:33:46 +0000 (14:33 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 9 Jul 2010 12:33:46 +0000 (14:33 +0200)
src/utils_cgi.c

index 0b63daf6ae89a3103fbdaf2fa9f7f5eb6cc9d59a..f4abec2dac3be3196a1b4009d47860e1fbbdabe9 100644 (file)
@@ -751,7 +751,7 @@ int html_print_search_box (__attribute__((unused)) void *user_data) /* {{{ */
   term_html = html_escape (param ("q"));
 
   printf ("<form action=\"%s\" method=\"get\" id=\"search-form\">\n"
-      "  <input type=\"hidden\" name=\"action\" value=\"list_graphs\" />\n"
+      "  <input type=\"hidden\" name=\"action\" value=\"search\" />\n"
       "  <input type=\"text\" name=\"q\" value=\"%s\" id=\"search-input\" />\n"
       "  <input type=\"submit\" name=\"button\" value=\"Search\" />\n"
       "</form>\n",