From 5095185ab8c109971703ce37bcda7cb0a72225ca Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Sun, 23 Mar 2008 13:06:26 +0000 Subject: Pass additional filter information in ihash for navigation links --- list_content.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'list_content.php') diff --git a/list_content.php b/list_content.php index 8de00a0..a95da64 100644 --- a/list_content.php +++ b/list_content.php @@ -3,7 +3,7 @@ * list_content * * @author spider - * @version $Revision: 1.25 $ + * @version $Revision: 1.26 $ * @package liberty * @subpackage functions */ @@ -34,17 +34,15 @@ if (!empty($_REQUEST["max_records"])) { $_SESSION['liberty_records_per_page'] = $max_content; } - - -$gBitSmarty->assign( 'user_id', @BitBase::verifyId( $_REQUEST['user_id'] ) ? $_REQUEST['user_id'] : NULL ); - // now that we have all the offsets, we can get the content list include_once( LIBERTY_PKG_PATH.'get_content_list_inc.php' ); $gBitSmarty->assign( 'contentSelect', $contentSelect ); $gBitSmarty->assign( 'contentTypes', $contentTypes ); $gBitSmarty->assign( 'contentList', $contentList['data'] ); -$contentList['listInfo']['parameters']['content_type_guid'] = $contentSelect; +$contentList['listInfo']['ihash']['content_type_guid'] = $contentSelect[0]; +$contentList['listInfo']['ihash']['user_id'] = @BitBase::verifyId( $_REQUEST['user_id'] ) ? $_REQUEST['user_id'] : NULL; +$contentList['listInfo']['ihash']['find_objects'] = $contentList['listInfo']['find']; $gBitSmarty->assign( 'listInfo', $contentList['listInfo'] ); $gBitSmarty->assign( 'content_type_guids', ( isset( $_REQUEST['content_type_guid'] ) ? $_REQUEST['content_type_guid'] : NULL )); -- cgit v1.3