а вот кстати еще 1 вопрос.
$Informationsystem_Controller_Show = new Informationsystem_Controller_Show(
Core_Entity::factory('Informationsystem', 17)
);
$Informationsystem_Controller_Show
->xsl(
Core_Entity::factory('Xsl')->getByName('СписокЭлементов')
)
->groupsMode('all')
->itemsForbiddenTags(array('text'))
->group(9)
->limit(1000)
;
$Informationsystem_Controller_Show
->informationsystemItems()
->queryBuilder()
->leftJoin('informationsystem_item_properties', 'informationsystem_items.informationsystem_id', '=', 'informationsystem_item_properties.informationsystem_id')
->leftJoin('property_value_ints', 'informationsystem_items.id', '=', 'property_value_ints.entity_id',
array(
array('AND' => array('informationsystem_item_properties.property_id', '=', Core_QueryBuilder::expression('`property_value_ints`.`property_id`')))
)
)
->where('informationsystem_item_properties.property_id', '=', 73)
->where('property_value_ints.value', '=', 1)
->open()
->where('informationsystem_item_properties.property_id', '=', 76)
->where('property_value_ints.value', '<=', 88888888)
->setAnd()
->where('informationsystem_item_properties.property_id', '=', 76)
->where('property_value_ints.value', '>=', 10)
->close();
$Informationsystem_Controller_Show
->itemsProperties(TRUE)
->show();
не выводятся нужные элементы,
а если убрать
->where('informationsystem_item_properties.property_id', '=', 73)
->where('property_value_ints.value', '=', 1)
то выводятся.
мне нужно что бы учитывалось эти несколько условий при выборе элементов...