From: Raphaël Barrois Date: Tue, 2 Mar 2010 22:37:05 +0000 (+0100) Subject: Fix problem with bounds in MultipageView X-Git-Tag: core/1.1.0~64 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=43343e2a0a239089f1a77059513e12c9336006a1;p=platal.git Fix problem with bounds in MultipageView Signed-off-by: Raphaël Barrois --- diff --git a/classes/plset.php b/classes/plset.php index 985b5be..b48fc92 100644 --- a/classes/plset.php +++ b/classes/plset.php @@ -285,7 +285,7 @@ abstract class MultipageView implements PlView public function limit() { - return null; + return new PlLimit($this->entriesPerPage, $this->offset); } /** Name of the template to use for displaying items of the view