"list graphs" action: Create exact host-search in "print_host_list".
authorFlorian Forster <ff@octo.it>
Wed, 23 Jun 2010 07:20:17 +0000 (09:20 +0200)
committerFlorian Forster <octo@verplant.org>
Wed, 23 Jun 2010 07:20:17 +0000 (09:20 +0200)
src/action_list_graphs.c

index 1f7e091..6a7ce4f 100644 (file)
@@ -227,7 +227,7 @@ static int print_host_list (__attribute__((unused)) void *user_data) /* {{{ */
 
     host_html = html_escape (host);
 
-    printf ("  <li><a href=\"%s?action=list_graphs&q=%s\">%s</a></li>\n",
+    printf ("  <li><a href=\"%s?action=list_graphs&q=host:%s\">%s</a></li>\n",
         script_name (), host_html, host_html);
 
     free (host_html);