Commit 8092fba2 authored by Stephen M. Coakley's avatar Stephen M. Coakley

Limit search to name+description

parent 3c029f9a
...@@ -73,7 +73,7 @@ function omf.index.query -d 'Query packages in the index' ...@@ -73,7 +73,7 @@ function omf.index.query -d 'Query packages in the index'
type_matches = 1; type_matches = 1;
} }
!text_matches && !/^#/ { !text_matches && !/^#/ && $1 == "description" {
if (match(tolower($2), q_text)) { if (match(tolower($2), q_text)) {
text_matches = 1; text_matches = 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment