[Jifty-commit] r5026 - in Jifty-DBI/branches/tisql: lib/Jifty/DBI

Jifty commits jifty-commit at lists.jifty.org
Tue Feb 5 21:17:12 EST 2008


Author: ruz
Date: Tue Feb  5 21:17:12 2008
New Revision: 5026

Modified:
   Jifty-DBI/branches/tisql/   (props changed)
   Jifty-DBI/branches/tisql/lib/Jifty/DBI/Collection.pm

Log:
 r4647 at cubic-pc (orig r4646):  jesse | 2007-12-08 00:35:40 +0300
  r72804 at pinglin:  jesse | 2007-12-07 16:34:13 -0500
  * Be more careful about initializing values we're using
 


Modified: Jifty-DBI/branches/tisql/lib/Jifty/DBI/Collection.pm
==============================================================================
--- Jifty-DBI/branches/tisql/lib/Jifty/DBI/Collection.pm	(original)
+++ Jifty-DBI/branches/tisql/lib/Jifty/DBI/Collection.pm	Tue Feb  5 21:17:12 2008
@@ -1741,8 +1741,8 @@
 sub set_page_info {
     my $self = shift;
     my %args = (
-        per_page     => undef,
-        current_page => undef,    # 1-based
+        per_page     => 0,
+        current_page => 1,    # 1-based
         @_
     );
     return if $self->derived;


More information about the Jifty-commit mailing list