[gnome-software/gnome-3-26] packagekit: Fix what-provides search to correctly handle installed packages



commit 5bc41c504d08db1e0e762c8a17b05fd4ea29d90d
Author: Kalev Lember <klember redhat com>
Date:   Sat Jan 27 10:24:20 2018 +0100

    packagekit: Fix what-provides search to correctly handle installed packages
    
    Don't pass the NOT_INSTALLED filter as that causes the search to not
    resolve installed packages, breaking the sources dialog provides search.

 plugins/packagekit/gs-plugin-packagekit.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit.c b/plugins/packagekit/gs-plugin-packagekit.c
index 4f758af8..e39f3deb 100644
--- a/plugins/packagekit/gs-plugin-packagekit.c
+++ b/plugins/packagekit/gs-plugin-packagekit.c
@@ -638,7 +638,6 @@ gs_plugin_add_search_what_provides (GsPlugin *plugin,
        gs_plugin_status_update (plugin, NULL, GS_PLUGIN_STATUS_WAITING);
        filter = pk_bitfield_from_enums (PK_FILTER_ENUM_NEWEST,
                                         PK_FILTER_ENUM_ARCH,
-                                        PK_FILTER_ENUM_NOT_INSTALLED,
                                         -1);
        results = pk_client_what_provides (PK_CLIENT (priv->task),
                                           filter,


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