Skip to content

Commit 89456df

Browse files
authored
Merge pull request #1150 from metacpan/haarg/author-release-more-meta
include additional fields in author latest releases query
2 parents d4a2b10 + 7eb7de2 commit 89456df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/MetaCPAN/Query/Release.pm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,10 @@ sub latest_by_author {
514514
},
515515
sort =>
516516
[ 'distribution', { 'version_numified' => { reverse => 1 } } ],
517-
fields => [qw(author distribution name status abstract date)],
518-
size => 1000,
517+
fields => [
518+
qw(author distribution name status abstract date download_url version authorized maturity)
519+
],
520+
size => 1000,
519521
};
520522

521523
my $ret = $self->es->search(

0 commit comments

Comments
 (0)