Limit search to name+description

pull/505/head
Stephen M. Coakley 7 years ago
parent 3c029f9ade
commit 8092fba290
No known key found for this signature in database
GPG Key ID: 91B59C18494C4FC0

@ -73,7 +73,7 @@ function omf.index.query -d 'Query packages in the index'
type_matches = 1;
}
!text_matches && !/^#/ {
!text_matches && !/^#/ && $1 == "description" {
if (match(tolower($2), q_text)) {
text_matches = 1;
}

Loading…
Cancel
Save