Changeset 4432

Show
Ignore:
Timestamp:
01/03/13 10:50:15 (1 month ago)
Author:
demian
Message:

addressing pagination bug, fixes #1753

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/SGL/DB.php

    r4424 r4432  
    294294        $page = array(); 
    295295        $page['totalItems'] = $pager_options['totalItems']; 
    296         $page['links'] = str_replace("/pageID/".$pager->getCurrentPageID()."/", "/", $pager->links); 
     296        $page['links'] = str_replace("/pageID/".$pager->getCurrentPageID()."/", "", $pager->links); 
     297        $page['links'] = str_replace("//pageID", "/pageID", $page['links']); 
    297298        $page['page_numbers'] = array( 
    298299            'current' => $pager->getCurrentPageID(),