Skip to content

Commit

Permalink
Merge pull request #2939 from metacpan/mickey/bugfix_gh1126
Browse files Browse the repository at this point in the history
all_by_author: called with the wrong params order (GH#1126)
  • Loading branch information
oalders authored Sep 23, 2023
2 parents 0357760 + 4565bc2 commit 6a18291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Controller/Author.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a18291

Please sign in to comment.