Skip to content

Commit

Permalink
Merge pull request #1133 from metacpan/mickey/revert_gh1129
Browse files Browse the repository at this point in the history
Revert "Bug fix: fix param order (GH#1126)"
  • Loading branch information
mickeyn authored Sep 8, 2023
2 parents 51cf2cf + 781f214 commit db7c3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Server/Controller/Release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ sub latest_by_author : Path('latest_by_author') : Args(1) {

sub all_by_author : Path('all_by_author') : Args(1) {
my ( $self, $c, $pauseid ) = @_;
my @params = @{ $c->req->params }{qw( page_size page )};
my @params = @{ $c->req->params }{qw( page page_size )};
$c->stash_or_detach(
$self->model($c)->all_by_author( $pauseid, @params ) );
}
Expand Down

0 comments on commit db7c3a9

Please sign in to comment.