сделал всё как было описано в других темах фрума, но ничего не выводится. необходимо отсортировать по двум значениям из двух групп доп свойств, сделал так:
<?
$property=array () ;
$element = array () ;
$element['type'] = 1;
$element['prefix'] = ' AND ';
$element['property_id'] = 29;
$element['if'] = '!=';
$element['value'] = '';
$element['sufix']= " AND ((information_propertys_table.information_propertys_id='29' OR information_propertys_table.information_propertys_id='31') AND information_propertys_items_table.information_propertys_items_value='".intval($_GET['industries'])."')";
$property['select'][] = $element;
$element['type'] = 1;
$element['prefix'] = ' AND ';
$element['property_id'] = 30;
$element['if'] = '!=';
$element['value'] = '';
$count_condition = 2;
$having_count= ' HAVING COUNT(information_propertys_items_table.information_propertys_items_id) = '.$count_condition;
$element['sufix']=" AND ((information_propertys_table.information_propertys_id='30' OR information_propertys_table.information_propertys_id='32') AND information_propertys_items_table.information_propertys_items_value='".intval($_GET['services'])."') GROUP BY information_items_table.information_items_id ".$having_count;
$property['select'][] = $element;
$external_propertys['apply_filter'] = true;
$GLOBALS['LA_InformationSystem']->ShowInformationSystem($InformationSystem_id, $GLOBALS['INFSYS_result']['group'], $xsl_list, $InformationResult['items_on_page'], $InformationResult['items_begin'], $external_propertys, $property);
?>
Что я делаю не так??