Skip to content

Commit

Permalink
Also search author asciiname
Browse files Browse the repository at this point in the history
fixes #1110.
  • Loading branch information
rwstauner committed Feb 21, 2014
1 parent 212b54e commit fb70371
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/MetaCPAN/Web/Model/API/Author.pm
Expand Up @@ -55,6 +55,12 @@ sub search {
{ query => $query, operator => 'and' }
}
},
{
text => {
'author.asciiname.analyzed' =>
{ query => $query, operator => 'and' }
}
},
{ text => { 'author.pauseid' => uc($query) } },
{ text => { 'author.profile.id' => lc($query) } },
]
Expand Down

0 comments on commit fb70371

Please sign in to comment.