Skip to content

Commit

Permalink
Merge pull request #721 from metacpan/mickey/removed_needless_model_m…
Browse files Browse the repository at this point in the history
…ethod_calls

Removed needless calls to model settings (raw)
  • Loading branch information
oalders committed Jul 25, 2017
2 parents f32ad79 + 75875e2 commit 1a472ad
Show file tree
Hide file tree
Showing 20 changed files with 593 additions and 46 deletions.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Document/Release/Set.pm
Expand Up @@ -44,7 +44,7 @@ sub find {
{ term => { status => 'latest' } }
]
}
)->sort( [ { date => 'desc' } ] )->first;
)->sort( [ { date => 'desc' } ] )->raw->first;
return unless $file;

my $data = $file->{_source}
Expand Down

0 comments on commit 1a472ad

Please sign in to comment.