Skip to content

Commit

Permalink
Fixed regression on starting --update that didn't honour updates filter
Browse files Browse the repository at this point in the history
  • Loading branch information
anaselli committed Jun 17, 2020
1 parent 4ea0a81 commit 2dd3be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Fixed regression on starting --update that didn't honour updates filter
- Default view at first running is Groups and All, added for Fedora packager the option into
system settings (/et/dnfdragora/dnfdragora.yaml) option all_updates to change this behaviour
and show All the packages with To_update filter see dnfdragora.yaml.example
Expand Down
2 changes: 1 addition & 1 deletion dnfdragora/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def _setupUI(self) :
for f in ordered_filters:
item = yui.YItem(self.filters[f]['title'], False)

filter_item = 'to_update' if self.all_updates_filter else 'all'
filter_item = 'to_update' if self.all_updates_filter or self.update_only else 'all'
if not self.update_only and 'filter' in view.keys():
filter_item = view['filter']

Expand Down

0 comments on commit 2dd3be1

Please sign in to comment.