mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[view.qt] fix: 'name' filter not working for packages whose names contain the typed word
This commit is contained in:
@@ -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