Skip to content

Commit

Permalink
add main_module to versions end point
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Nov 5, 2024
1 parent fcd2c46 commit 9a73cd7
Showing 1 changed file with 11 additions and 3 deletions.
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

0 comments on commit 9a73cd7

Please sign in to comment.