Commit c45b0378 authored by Giovanni Campagna's avatar Giovanni Campagna
Browse files

packagekit-refine: filter by architecture too

This way we make sure to only get one result for our call.
parent 14a4aa80
......@@ -144,7 +144,7 @@ gs_plugin_packagekit_refine_package (GsPlugin *plugin,
to_array[0] = package_name;
results = pk_client_resolve (plugin->priv->client,
pk_bitfield_from_enums (PK_FILTER_ENUM_NEWEST, -1),
pk_bitfield_from_enums (PK_FILTER_ENUM_NEWEST, PK_FILTER_ENUM_ARCH, -1),
(gchar **) to_array,
cancellable,
gs_plugin_packagekit_progress_cb, plugin,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment