Skip to content

Commit

Permalink
search: Check keywords also.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwebster committed Oct 30, 2024
1 parent 2a486f8 commit 0872522
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions usr/lib/linuxmint/mintinstall/mintinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -2376,6 +2376,12 @@ def idle_search_one_package(pkginfos):
is_match = True
pkginfo.search_tier = 0
break

if termsUpper in pkginfo.get_keywords().upper():
is_match = True
pkginfo.search_tier = 50
break

if (search_in_summary and termsUpper in pkginfo.get_summary().upper()):
is_match = True
pkginfo.search_tier = 100
Expand Down

0 comments on commit 0872522

Please sign in to comment.