From 4565bc207f7875f8d305bae65061e47ad1d7fda5 Mon Sep 17 00:00:00 2001 From: Mickey Nasriachi Date: Sat, 23 Sep 2023 11:30:23 +0200 Subject: [PATCH] all_by_author: called with the wrong params order (GH#1126) --- lib/MetaCPAN/Web/Controller/Author.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MetaCPAN/Web/Controller/Author.pm b/lib/MetaCPAN/Web/Controller/Author.pm index f66ec030317..4a20e9b7a7f 100644 --- a/lib/MetaCPAN/Web/Controller/Author.pm +++ b/lib/MetaCPAN/Web/Controller/Author.pm @@ -87,7 +87,7 @@ sub releases : Chained('root') PathPart Args(0) { my $page = $req->page; my $author_cv = $c->model('API::Author')->get($id); my $releases - = $c->model('API::Release')->all_by_author( $id, $page_size, $page ) + = $c->model('API::Release')->all_by_author( $id, $page, $page_size ) ->get; my $author_info = $author_cv->get;