Author: pb
Date: Thu Nov 27 11:56:23 2008
New Revision: 3367
Log:
- reverting previous commit rev #3365 (wrong commit message)
Modified:
ezfind/ezp4/trunk/extension/ezfind/classes/ezfezpsolrquerybuilder.php
Modified: ezfind/ezp4/trunk/extension/ezfind/classes/ezfezpsolrquerybuilder.php
==============================================================================
--- ezfind/ezp4/trunk/extension/ezfind/classes/ezfezpsolrquerybuilder.php (original)
+++ ezfind/ezp4/trunk/extension/ezfind/classes/ezfezpsolrquerybuilder.php Thu Nov 27 11:56:23 2008
@@ -973,7 +973,7 @@
$pathString = trim( $limitationValue, '/' );
$pathArray = explode( '/', $pathString );
// we only take the last node ID in the path identification string
- $subtreeNodeID = array_pop( $pathArray );
+ $subtreeNodeID = array_shift( $pathArray );
$filterQueryPolicyLimitationParts[] = eZSolr::getMetaFieldName( 'path' ) . ':' . $subtreeNodeID;
}
} break;
@@ -985,7 +985,7 @@
$pathString = trim( $limitationValue, '/' );
$pathArray = explode( '/', $pathString );
// we only take the last node ID in the path identification string
- $nodeID = array_pop( $pathArray );
+ $nodeID = array_shift( $pathArray );
$filterQueryPolicyLimitationParts[] = $limitationHash[$limitationType] . ':' . $nodeID;
}
} break;
_______________________________________________
svn-eZFind mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-ezfind