mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[view.qt] fix: 'name' filter not working for packages whose names contain the typed word
This commit is contained in:
@@ -8,6 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
### Fixes
|
||||
- AppImage
|
||||
- regression on the database backend preventing long time installed AppImages to receive updates
|
||||
- UI
|
||||
- regression from `0.10.6`: "name" filter not working for packages whose names contain the typed words
|
||||
|
||||
## [0.10.6] 2023-12-23
|
||||
### Features
|
||||
|
||||
@@ -129,7 +129,7 @@ def query_packages(index: dict, filters: PackageFilters) -> Generator[PackageVie
|
||||
continue
|
||||
|
||||
# checking if the package name contains the chars query
|
||||
if query[5] in pkgv.model.name:
|
||||
if query[6] in pkgv.model.name:
|
||||
yield pkgv
|
||||
yield_count += 1
|
||||
yielded_pkgs[pkgv.model.get_type()].add(pkgv.model.id)
|
||||
|
||||
Reference in New Issue
Block a user