my $flesh_feed = parse_feed_type($type);
$limit ||= 10;
+ $limit = 10 if $limit !~ /^\d+$/;
my $list = $supercat->request("open-ils.supercat.$rtype.record.$axis.recent", $date, $limit)->gather(1);
$page_size ||= $cgi->param('count') || 9;
$page = 0 if ($page !~ /^-?\d+$/);
+ $page_size = 9 if $page_size !~ /^\d+$/;
my $prev = join('/', $base,$format,$axis,$site,$string,$page - 1,$page_size);
my $next = join('/', $base,$format,$axis,$site,$string,$page + 1,$page_size);
$page_size ||= $cgi->param('count') || 9;
$page = 0 if ($page !~ /^-?\d+$/);
+ $page_size = 9 if $page_size !~ /^\d+$/;
my $prev = join('/', $base,$format,$axis,$site,$string,$page - 1,$page_size);
my $next = join('/', $base,$format,$axis,$site,$string,$page + 1,$page_size);
$page_size ||= $cgi->param('count') || 10;
$page = 1 if ($page !~ /^-?\d+$/ || $page < 1);
+ $page_size = 10 if $page_size !~ /^\d+$/;
my $prev = join('/', $base,$format,$axis,$site,$page - 1,$page_size);
my $next = join('/', $base,$format,$axis,$site,$page + 1,$page_size);