From 7ae412956ee7acecf5203c9149508cc0daa10053 Mon Sep 17 00:00:00 2001 From: Mickey Nasriachi Date: Thu, 31 Aug 2023 09:55:33 +0200 Subject: [PATCH] Bug fix: fix param order (GH#1126) --- lib/MetaCPAN/Server/Controller/Release.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MetaCPAN/Server/Controller/Release.pm b/lib/MetaCPAN/Server/Controller/Release.pm index a64a48fa9..e9921d53b 100644 --- a/lib/MetaCPAN/Server/Controller/Release.pm +++ b/lib/MetaCPAN/Server/Controller/Release.pm @@ -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 page_size )}; + my @params = @{ $c->req->params }{qw( page_size page )}; $c->stash_or_detach( $self->model($c)->all_by_author( $pauseid, @params ) ); }