Answer the question
In order to leave comments, you need to log in
Why doesn't CIBlockElement::GetList filter?
Does not filter CIBlockElement::GetList by "<=PROPERTY_7"=>2000 $arFilter = Array("IBLOCK_ID" => 1, "ACTIVE_DATE" => "Y", "ACTIVE" => "Y","<=PROPERTY_7" =>2000,"PROPERTY_CITY"=>3);
PROPERTY_7 - number, required, non-multiple
Answer the question
In order to leave comments, you need to log in
At first glance, you have the correct code. For the purity of the experiment, you can write instead of the property ID (you have 7) its symbolic code:
Make sure you build the logical condition correctly. Your filter specifies to select all elements whose property value with ID=7 is less than or equal to 2000.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question