From 240596a68600085f4d49271094525f66d0b39fd9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 2 Oct 2009 19:19:06 +0200 Subject: [PATCH] screen_search: call do_search() on CMD_SCREEN_UPDATE The old code just called filelist_search(), which is the simple search. This could not reload the "advanced" search result. --- src/screen_search.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/screen_search.c b/src/screen_search.c index 1710f5a..09d5b55 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -435,10 +435,7 @@ screen_search_cmd(struct mpdclient *c, command_t cmd) case CMD_SCREEN_UPDATE: if (pattern) { search_clear(false); - browser.filelist = filelist_search(c, - FALSE, - mode[options.search_mode].table, - pattern); + browser.filelist = do_search(c, pattern); screen_browser_sync_highlights(browser.filelist, &c->playlist); } -- 2.30.2