From ab2c3d6954fc4ae70e3f9902e39a2e86c2437530 Mon Sep 17 00:00:00 2001 From: Nick Palmer Date: Fri, 9 Mar 2007 03:57:16 +0000 Subject: Remove limit on categories in on page assignment. Fix ordering on assign page. --- Pigeonholes.php | 6 +++--- assign_content.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Pigeonholes.php b/Pigeonholes.php index 450afe2..d71eb7e 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ - * @version $Revision: 1.82 $ + * @version $Revision: 1.83 $ * @package pigeonholes */ @@ -948,7 +948,7 @@ function pigeonholes_content_edit( $pObject=NULL ) { $pigeonholes = new Pigeonholes(); // get pigeonholes path list - if( $pigeonPathList = $pigeonholes->getPigeonholesPathList( ( !empty( $pObject->mContentId ) ? $pObject->mContentId : NULL ), 100 ) ) { + if( $pigeonPathList = $pigeonholes->getPigeonholesPathList( ( !empty( $pObject->mContentId ) ? $pObject->mContentId : NULL )) ) { $gBitSmarty->assign( 'pigeonPathList', $pigeonPathList ); } } diff --git a/assign_content.php b/assign_content.php index 19c58f9..7450ae5 100644 --- a/assign_content.php +++ b/assign_content.php @@ -1,6 +1,6 @@ ( !empty( $_REQUEST['root_structure_id'] ) ? $_REQUEST['root_structure_id'] : NULL ), 'force_extras' => TRUE, 'max_records' => -1, - 'sort_mode' => 'ls.structure_id_asc', + 'sort_mode' => 'ls.`parent_id_asc`', ); if ($gBitSystem->isFeatureActive('pigeonholes_allow_forbid_insertion')) { -- cgit v1.3