libraries/Items/BItemsTree.php
public function itemsFilterIds($params){
		if(empty($params['orderby'])){
			$params['orderby']=$this->leftKeyName;
			}
		return parent::itemsFilterIds($params);
		}
public function itemsFilterIds($params){
		if(empty($params['orderby'])){
			$params['orderby']=$this->leftKeyName;
			}
		return parent::itemsFilterIds($params);
		}
public function itemsFilterIds ( $ params ) { if ( empty ( $ params [ 'orderby' ] ) ) { $ params [ 'orderby' ] = $ this -> leftKeyName ; } return parent :: itemsFilterIds ( $ params ) ; }
Filters items and return array of IDs

@param $params
@return array|null
Filters items and return array of IDs