Skip to content

Commit 684fd65

Browse files
committed
include additional fields in author latest releases query
This makes it match the fields returned by the author all releases end point.
1 parent d4a2b10 commit 684fd65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/MetaCPAN/Query/Release.pm

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

0 commit comments

Comments
 (0)