Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
pureos-store
Commits
b7567e28
Commit
b7567e28
authored
Sep 02, 2013
by
Richard Hughes
Browse files
Never return collections when searching using PackageKit
parent
b605fbc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/gs-plugin-packagekit.c
View file @
b7567e28
...
...
@@ -218,6 +218,7 @@ gs_plugin_add_search (GsPlugin *plugin,
filter
=
pk_bitfield_from_enums
(
PK_FILTER_ENUM_NEWEST
,
PK_FILTER_ENUM_ARCH
,
PK_FILTER_ENUM_APPLICATION
,
PK_FILTER_ENUM_NOT_COLLECTIONS
,
-
1
);
values
[
0
]
=
value
;
results
=
pk_client_search_details
(
PK_CLIENT
(
plugin
->
priv
->
task
),
...
...
@@ -265,6 +266,7 @@ gs_plugin_add_installed (GsPlugin *plugin,
PK_FILTER_ENUM_NEWEST
,
PK_FILTER_ENUM_ARCH
,
PK_FILTER_ENUM_APPLICATION
,
PK_FILTER_ENUM_NOT_COLLECTIONS
,
-
1
);
results
=
pk_client_get_packages
(
PK_CLIENT
(
plugin
->
priv
->
task
),
filter
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment