Show
Ignore:
Timestamp:
12/04/2007 08:17:52 PM (13 months ago)
Author:
Shadowhand
Message:

Changes to core:

  • Pagination now includes the query string, to allow GET-driven searches with paged results
  • ORM->delete(ALL) now respects where() calls
  • Form_Model can now be constructed like this: $form = new Form_Model($title, $action, $inputs), to bypass chained method calls.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Pagination.php

    r1402 r1419  
    9393                        } 
    9494 
    95                         // Create a generic base_url with {page} placeholder 
     95                        // Create a generic base_url with {page} and {query_string} placeholders 
    9696                        $this->base_url[$this->uri_segment - 1] = '{page}'; 
    97                         $this->base_url = url::site(implode('/', $this->base_url)); 
     97                        $this->base_url = url::site(implode('/', $this->base_url)).Router::$query_string; 
    9898                } 
    9999