[Jifty-commit] r7605 - in jifty/trunk: share/web/templates/_elements

Jifty commits jifty-commit at lists.jifty.org
Thu Nov 12 09:05:46 EST 2009


Author: sartak
Date: Thu Nov 12 09:05:43 2009
New Revision: 7605

Modified:
   jifty/trunk/lib/Jifty/View/Declare/CRUD.pm
   jifty/trunk/share/web/templates/_elements/paging

Log:
We don't even look at per_page so get rid of it

Modified: jifty/trunk/lib/Jifty/View/Declare/CRUD.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/CRUD.pm	(original)
+++ jifty/trunk/lib/Jifty/View/Declare/CRUD.pm	Thu Nov 12 09:05:43 2009
@@ -844,7 +844,6 @@
     render_mason '/_elements/paging' => {
         collection => $collection,
         page       => $page,
-        per_page   => $self->per_page,
         allow_all  => 1,
     };
 };
@@ -863,7 +862,6 @@
     render_mason '/_elements/paging' => {
         collection => $collection,
         page       => $page,
-        per_page   => $self->per_page,
         allow_all  => 1,
     };
 };

Modified: jifty/trunk/share/web/templates/_elements/paging
==============================================================================
--- jifty/trunk/share/web/templates/_elements/paging	(original)
+++ jifty/trunk/share/web/templates/_elements/paging	Thu Nov 12 09:05:43 2009
@@ -1,7 +1,6 @@
 <%args>
 $collection
 $page => 1
-$per_page => 15
 $argument => 'page'
 $hide_single_page => 1
 $allow_all => 0


More information about the Jifty-commit mailing list