projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
list_graphs action: Avoid linebreak in "42 instances".
[collection4.git]
/
src
/
action_search_json.c
diff --git
a/src/action_search_json.c
b/src/action_search_json.c
index
53501fe
..
834e07e
100644
(file)
--- a/
src/action_search_json.c
+++ b/
src/action_search_json.c
@@
-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
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 ();
if (!data.first)
json_end_graph ();
@@
-164,8
+164,6
@@
int action_search_json (void) /* {{{ */
char *search;
int status;
char *search;
int status;
- gl_update ();
-
search = strtolower_copy (param ("q"));
status = list_graphs_json (search);
search = strtolower_copy (param ("q"));
status = list_graphs_json (search);