* Pass the page number in the URI query string.

This commit is contained in:
Eelco Dolstra
2009-10-15 12:59:55 +00:00
parent d109910453
commit dd12113eb2
2 changed files with 6 additions and 6 deletions

View File

@ -47,11 +47,11 @@ sub errors : Chained('get_builds') PathPart Args(0) {
sub all : Chained('get_builds') PathPart {
my ($self, $c, $page) = @_;
my ($self, $c) = @_;
$c->stash->{template} = 'all.tt';
$page = (defined $page ? int($page) : 1) || 1;
my $page = int($c->req->param('page')) || 1;
my $resultsPerPage = 50;