Skip to content

Commit 0872522

Browse files
committed
search: Check keywords also.
1 parent 2a486f8 commit 0872522

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

usr/lib/linuxmint/mintinstall/mintinstall.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,6 +2376,12 @@ def idle_search_one_package(pkginfos):
23762376
is_match = True
23772377
pkginfo.search_tier = 0
23782378
break
2379+
2380+
if termsUpper in pkginfo.get_keywords().upper():
2381+
is_match = True
2382+
pkginfo.search_tier = 50
2383+
break
2384+
23792385
if (search_in_summary and termsUpper in pkginfo.get_summary().upper()):
23802386
is_match = True
23812387
pkginfo.search_tier = 100

0 commit comments

Comments
 (0)