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



commit d2204e446948d3767669decc0a0a81efa91dd116
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 d40ba9f3..e1a6e543 100644
--- a/plugins/packagekit/gs-plugin-packagekit.c
+++ b/plugins/packagekit/gs-plugin-packagekit.c
@@ -584,7 +584,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]