Skip to content

Commit

Permalink
Merge pull request #1150 from metacpan/haarg/author-release-more-meta
Browse files Browse the repository at this point in the history
include additional fields in author latest releases query
  • Loading branch information
mickeyn authored Dec 5, 2023
2 parents d4a2b10 + 7eb7de2 commit 89456df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/MetaCPAN/Query/Release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,10 @@ sub latest_by_author {
},
sort =>
[ 'distribution', { 'version_numified' => { reverse => 1 } } ],
fields => [qw(author distribution name status abstract date)],
size => 1000,
fields => [
qw(author distribution name status abstract date download_url version authorized maturity)
],
size => 1000,
};

my $ret = $self->es->search(
Expand Down

0 comments on commit 89456df

Please sign in to comment.