mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +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
|
### Fixes
|
||||||
- AppImage
|
- AppImage
|
||||||
- regression on the database backend preventing long time installed AppImages to receive updates
|
- 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
|
## [0.10.6] 2023-12-23
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ def query_packages(index: dict, filters: PackageFilters) -> Generator[PackageVie
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# checking if the package name contains the chars query
|
# 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 pkgv
|
||||||
yield_count += 1
|
yield_count += 1
|
||||||
yielded_pkgs[pkgv.model.get_type()].add(pkgv.model.id)
|
yielded_pkgs[pkgv.model.get_type()].add(pkgv.model.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user