Skip to content

Commit ed49068

Browse files
committed
/release/recent - added maturity field GH#1146
1 parent 28f5b01 commit ed49068

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/MetaCPAN/Query/Release.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,8 +877,9 @@ sub recent {
877877
size => $page_size,
878878
from => $from,
879879
query => $query,
880-
fields => [qw(name author status abstract date distribution)],
881-
sort => [ { 'date' => { order => 'desc' } } ]
880+
fields =>
881+
[qw(name author status abstract date distribution maturity)],
882+
sort => [ { 'date' => { order => 'desc' } } ]
882883
};
883884

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

0 commit comments

Comments
 (0)