Skip to content

Commit

Permalink
Merge pull request #1147 from metacpan/mickey/recent_maturity_gh1146
Browse files Browse the repository at this point in the history
/release/recent - added maturity field GH#1146
  • Loading branch information
oalders authored Nov 23, 2023
2 parents 28f5b01 + ed49068 commit 6cfac62
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/MetaCPAN/Query/Release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,9 @@ sub recent {
size => $page_size,
from => $from,
query => $query,
fields => [qw(name author status abstract date distribution)],
sort => [ { 'date' => { order => 'desc' } } ]
fields =>
[qw(name author status abstract date distribution maturity)],
sort => [ { 'date' => { order => 'desc' } } ]
};

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

0 comments on commit 6cfac62

Please sign in to comment.