From 9a97b194383df13a7c24ef5a5b3c2fa80fdf978a Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Mon, 21 May 2007 18:51:51 +0000 Subject: Operational fixes for history page with listInfo controls for pagination Still needs further tidying to feed hash to getHistory --- page_history.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'page_history.php') diff --git a/page_history.php b/page_history.php index a3f7c56..b27a960 100644 --- a/page_history.php +++ b/page_history.php @@ -1,6 +1,6 @@ assign( 'page', $page = !empty( $_REQUEST['list_page'] ) ? $_REQUEST['list_page'] : 1 ); $offset = ( $page - 1 ) * $gBitSystem->getConfig( 'max_records' ); $history = $gContent->getHistory( NULL, NULL, $offset, $gBitSystem->getConfig( 'max_records' ) ); -$gContent->postGetList($history); -$gBitSmarty->assign_by_ref( 'history', $history ); +$gBitSmarty->assign_by_ref( 'data', $history['data'] ); $gBitSmarty->assign_by_ref( 'listInfo', $history['listInfo'] ); // Display the template -- cgit v1.3