share/collection.js: Add a timeout to the hide() call.
[collection4.git] / src / graph_instance.c
index 90d1753..73aeb1b 100644 (file)
@@ -8,7 +8,7 @@
 #include "graph_ident.h"
 #include "graph_list.h"
 #include "common.h"
-#include "utils_params.h"
+#include "utils_cgi.h"
 
 #include <fcgiapp.h>
 #include <fcgi_stdio.h>
@@ -435,6 +435,8 @@ int inst_search (graph_config_t *cfg, graph_instance_t *inst, /* {{{ */
       return (status);
     }
 
+    strtolower (buffer);
+
     /* no match */
     if (strstr (buffer, term) == NULL)
       continue;