[recipes] search page: Update the search for empty terms too



commit e823280691381c837db811ed05fd821bbd46d92a
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 1 10:23:11 2017 -0500

    search page: Update the search for empty terms too
    
    This fixes a problem where going back to the search page
    would not redisplay the search results for the query, because
    the search was not aware that the displayed list had been cleared.

 src/gr-search-page.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-search-page.c b/src/gr-search-page.c
index 80a72b4..3d1e51e 100644
--- a/src/gr-search-page.c
+++ b/src/gr-search-page.c
@@ -184,7 +184,6 @@ gr_search_page_update_search (GrSearchPage  *page,
 
         if (terms == NULL || terms[0] == NULL) {
                 container_remove_all (GTK_CONTAINER (page->flow_box));
-                return;
         }
 
         gr_recipe_search_set_terms (page->search, terms);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]