Skip to content

Commit 6cfac62

Browse files
authored
Merge pull request #1147 from metacpan/mickey/recent_maturity_gh1146
/release/recent - added maturity field GH#1146
2 parents 28f5b01 + ed49068 commit 6cfac62

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)