From: Jean-Philippe Andre Date: Mon, 19 Dec 2016 04:24:12 +0000 (+0900) Subject: elm_test: Also filter categories when typing in search bar X-Git-Tag: upstream/1.20.0~2757 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6989642221706a92cdfed2bd34d5f409ff00642b;p=platform%2Fupstream%2Fefl.git elm_test: Also filter categories when typing in search bar --- diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c index 0eb861d..22209ec 100644 --- a/src/bin/elementary/test.c +++ b/src/bin/elementary/test.c @@ -391,7 +391,9 @@ _menu_create(const char *option_str) _clear_menu(); EINA_LIST_FOREACH(tests, l, t) { - if (option_str && !strcasestr(t->name, option_str)) continue; + if (option_str && + !(strcasestr(t->name, option_str) || strcasestr(t->category, option_str))) + continue; if ((!pcat) || (strcmp(pcat, t->category))) { if (t->frame)