"show instance" action: Link to the "search" action in the breadcrump.
authorFlorian Forster <ff@octo.it>
Fri, 9 Jul 2010 12:39:31 +0000 (14:39 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 9 Jul 2010 12:39:31 +0000 (14:39 +0200)
src/action_show_instance.c

index 83c4d80..034aeb0 100644 (file)
@@ -70,10 +70,10 @@ static void show_breadcrump_field (const char *str, /* {{{ */
     char *str_html = html_escape (str);
 
     if (field_name != NULL)
     char *str_html = html_escape (str);
 
     if (field_name != NULL)
-      printf ("<a href=\"%s?action=list_graphs;q=%s:%s\">%s</a>",
+      printf ("<a href=\"%s?action=search;q=%s:%s\">%s</a>",
           script_name (), field_name, str_html, str_html);
     else
           script_name (), field_name, str_html, str_html);
     else
-      printf ("<a href=\"%s?action=list_graphs;q=%s\">%s</a>",
+      printf ("<a href=\"%s?action=search;q=%s\">%s</a>",
           script_name (), str_html, str_html);
 
     free (str_html);
           script_name (), str_html, str_html);
 
     free (str_html);