Show
Ignore:
Timestamp:
09/26/09 09:40:51 (3 years ago)
Author:
john
Message:

AR changed the count on paginated queries, added session_cookie_domain to the Trax class

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php

    r316 r327  
    729729        } 
    730730        $end = $object->rows_per_page * $object->page; 
    731         $start = $end - ($object->rows_per_page - 1); 
     731        $start = $end - ($object->rows_per_page - 1);   
    732732        if($end >= $object->pagination_count) { 
    733733            $end = $object->pagination_count; 
    734         } 
     734        }  
    735735 
    736736        return $object->pagination_count ? sprintf($format, $start, $end, $object->pagination_count) : null;