Code

"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 1f7e091f7715df02a0a420b6659527bc6a7a1aa1..6a7ce4fe2538c4bfbe249a16654eafba714504fb 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);