Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions lib/MetaCPAN/Query/Release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,17 @@ sub versions {
query => $query,
size => $size,
sort => [ { date => 'desc' } ],
_source => [
qw( name date author version status maturity authorized download_url)
],
_source => [ qw(
name
date
author
version
status
maturity
authorized
download_url
main_module
) ],
};

my $ret = $self->es->search( es_doc_path('release'), body => $body, );
Expand Down