Code

src/graph_list.c: A first take at a JSON parser for reading back the cache file.
[collection4.git] / src / action_search_json.c
index 53501fe72c523d6a40a6b4e7dcc993103067a409..6fcfa67c5e50cfb7257b19a8942eef161e866731 100644 (file)
@@ -149,7 +149,7 @@ static int list_graphs_json (const char *term) /* {{{ */
   if (term == NULL)
     gl_instance_get_all (json_print_graph_instance, /* user_data = */ &data);
   else
-    gl_search (term, json_print_graph_instance, /* user_data = */ &data);
+    gl_search_string (term, json_print_graph_instance, /* user_data = */ &data);
 
   if (!data.first)
     json_end_graph ();