summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-03-09 03:57:16 +0000
committerNick Palmer <nick@sluggardy.net>2007-03-09 03:57:16 +0000
commitab2c3d6954fc4ae70e3f9902e39a2e86c2437530 (patch)
tree74e8ceec447bd9cbdab9c1e09c89d8bb9b593ded
parent7f7d658ddf04bad83f17867d1e4d952e9446a1f3 (diff)
downloadpigeonholes-ab2c3d6954fc4ae70e3f9902e39a2e86c2437530.tar.gz
pigeonholes-ab2c3d6954fc4ae70e3f9902e39a2e86c2437530.tar.bz2
pigeonholes-ab2c3d6954fc4ae70e3f9902e39a2e86c2437530.zip
Remove limit on categories in on page assignment.
Fix ordering on assign page.
-rw-r--r--Pigeonholes.php6
-rw-r--r--assign_content.php6
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 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_pigeonholes/Pigeonholes.php,v 1.82 2007/03/05 02:19:54 nickpalmer Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_pigeonholes/Pigeonholes.php,v 1.83 2007/03/09 03:57:16 nickpalmer Exp $
*
* +----------------------------------------------------------------------+
* | Copyright ( c ) 2004, bitweaver.org
@@ -17,7 +17,7 @@
* Pigeonholes class
*
* @author xing <xing@synapse.plus.com>
- * @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 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.9 2007/03/05 02:19:54 nickpalmer Exp $
+ * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.10 2007/03/09 03:57:16 nickpalmer Exp $
*
* Copyright ( c ) 2004 bitweaver.org
* Copyright ( c ) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: assign_content.php,v 1.9 2007/03/05 02:19:54 nickpalmer Exp $
+ * $Id: assign_content.php,v 1.10 2007/03/09 03:57:16 nickpalmer Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -119,7 +119,7 @@ $listHash = array(
'root_structure_id' => ( !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')) {