projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename the "search" parameter to "q".
[collection4.git]
/
src
/
action_list_graphs.c
diff --git
a/src/action_list_graphs.c
b/src/action_list_graphs.c
index
e32b999
..
86d6e43
100644
(file)
--- a/
src/action_list_graphs.c
+++ b/
src/action_list_graphs.c
@@
-213,7
+213,7
@@
static int print_host_list (__attribute__((unused)) void *user_data) /* {{{ */
host_html = html_escape (host);
host_html = html_escape (host);
- printf (" <li><a href=\"%s?action=list_graphs&
search
=%s\">%s</a></li>\n",
+ printf (" <li><a href=\"%s?action=list_graphs&
q
=%s\">%s</a></li>\n",
script_name (), host_html, host_html);
free (host_html);
script_name (), host_html, host_html);
free (host_html);
@@
-256,10
+256,8
@@
int action_list_graphs (void) /* {{{ */
gl_update ();
gl_update ();
- search = strtolower_copy (param ("search"));
-
+ search = strtolower_copy (param ("q"));
status = list_graphs_html (search);
status = list_graphs_html (search);
-
free (search);
return (status);
free (search);
return (status);