mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[fix][ui] not displaying some priority search results at the top of the table
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -3,16 +3,19 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
|
||||
## [0.8.4] - 2020-02
|
||||
### Improvements
|
||||
- UI:
|
||||
- UI
|
||||
- treating multiple lines on the application's description displayed on the table
|
||||
### Fixes
|
||||
- Snap
|
||||
- not able to launch applications on some distros ( e.g: OpenSuse )
|
||||
- UI
|
||||
- not displaying some priority search results at the top of the table
|
||||
|
||||
## [0.8.3] - 2020-02-13
|
||||
|
||||
## [0.8.3] - 2020-02
|
||||
### Improvements
|
||||
- New update lifecycle:
|
||||
- now every package manager must provide all requirements before upgrading all selected packages ( can be disabled through the settings file **~/.config/bauh/config.yml** or the UI )
|
||||
@@ -23,7 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- checking architecture dependencies (x86_64, i686)
|
||||
- architecture dependencies are displayed on the info window as well
|
||||
- optimizations to speed up zst packages building
|
||||
- showing a warning messaging when trying to install / update / downgrade a package with the root user
|
||||
- showing a warning message when trying to install / update / downgrade a package with the root user
|
||||
- UI:
|
||||
- **Settings** available as a tray action as well
|
||||
- minor improvements
|
||||
|
||||
@@ -692,9 +692,9 @@ class ManageWindow(QWidget):
|
||||
setattr(self, attr, checked)
|
||||
checkbox.blockSignals(False)
|
||||
|
||||
def _gen_filters(self, updates: int = 0, ignore_updates: bool = False) -> dict:
|
||||
def _gen_filters(self, updates: int = 0, ignore_updates: bool = False, only_apps: bool = None) -> dict:
|
||||
return {
|
||||
'only_apps': self.filter_only_apps,
|
||||
'only_apps': self.filter_only_apps if only_apps is None else only_apps,
|
||||
'type': self.type_filter,
|
||||
'category': self.category_filter,
|
||||
'updates': False if ignore_updates else self.filter_updates,
|
||||
@@ -774,7 +774,9 @@ class ManageWindow(QWidget):
|
||||
|
||||
def _apply_filters(self, pkgs_info: dict, ignore_updates: bool):
|
||||
pkgs_info['pkgs_displayed'] = []
|
||||
filters = self._gen_filters(updates=pkgs_info['updates'], ignore_updates=ignore_updates)
|
||||
filters = self._gen_filters(updates=pkgs_info['updates'],
|
||||
ignore_updates=ignore_updates,
|
||||
only_apps=False if self.search_performed else None)
|
||||
for pkgv in pkgs_info['pkgs']:
|
||||
commons.apply_filters(pkgv, filters, pkgs_info)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user