[gnome-software/wip/kalev/shell-extensions-fixes: 10/10] category page: Don't cap max results at 50



commit 804b6c995c2edc6dceb96a69115e807fba81081a
Author: Kalev Lember <klember redhat com>
Date:   Wed Feb 21 11:03:40 2018 +0100

    category page: Don't cap max results at 50
    
    This led to shell extensions list from extensions.gnome.org being cut
    off after first 50.
    
    It's probably a good idea to add some kind of paging to the shell
    extensions list in the future, but in the mean time this makes sure we
    don't arbitrarily cut off extensions.
    
    Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/308

 src/gs-category-page.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/gs-category-page.c b/src/gs-category-page.c
index 1939d487..2adcdfa5 100644
--- a/src/gs-category-page.c
+++ b/src/gs-category-page.c
@@ -370,7 +370,6 @@ gs_category_page_reload (GsPage *page)
 
        plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_GET_CATEGORY_APPS,
                                         "category", self->subcategory,
-                                        "max-results", 50,
                                         "filter-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING,
                                         "failure-flags", GS_PLUGIN_FAILURE_FLAGS_NONE,
                                         "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON |


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