Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.1, 4.1.0alpha1
-
None
Description
It seems that if Limit param is omitted when calling eZContentObjectTreeNode::subTreeByNodeID(), the Offset is ignored.
example of code :
$params = array( 'ClassFilterType' => 'include', 'ClassFilterArray' => array( $postClassID ), 'SortBy', array( array( 'published', false ) ), 'Offset', 20 ); $postNodes = eZContentObjectTreeNode::subTreeByNodeID( $params, $planet->attribute( 'node_id' ) );
The Offset param is not used in the SQL query.
Attachments
Issue Links
- relates to
-
EZP-23223 Legacy fetch list/tree using 'limit' = 0 breaks backwards compatibilty
- Closed