Answer the question
In order to leave comments, you need to log in
How does filtering by multiple property work in Bitrix?
It is necessary to display elements from several infoblocks with a specific value specified in the multiple property.
$arFilter = Array("IBLOCK_ID"=>array(2, 3), "PROPERTY_ANC_ID"=>2);
$res = CIBlockElement::GetList(Array("PROPERTY_START_DATE" => "DESC"), $arFilter, false, false, $arSelect);
while($ob = $res->GetNextElement()) {
$arCalendar[] = $ob->GetFields();
$arPropsC = $ob->GetProperties();
echo '<pre>'; print_r($arCalendar); echo '</pre>';
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question