Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixup
  • Loading branch information
ranguard committed May 13, 2017
1 parent 8da0fdb commit 4d08821
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/MetaCPAN/Model/Search.pm
Expand Up @@ -296,6 +296,7 @@ sub build_query {
];

my $search = merge(
$structure,
$params,
{
_source => "module",
Expand All @@ -322,6 +323,9 @@ sub build_query {
# return us the same value multiple times in an unexpected arrayref.
$search->{fields} = [ uniq @{ $search->{fields} || [] } ];

use DDP;
p $search;

return $search;
}

Expand Down

0 comments on commit 4d08821

Please sign in to comment.