Answer the question
In order to leave comments, you need to log in
Why does the filter by IBLOCK_SECTION_ID not work in GetList?
Good afternoon.
I make a selection:
CIBlockElement::GetList(array(), Array("IBLOCK_ID"=>1, 'ACTIVE' => 'Y', 'IBLOCK_SECTION_ID' => 4), false, array('nTopCount' => 1), array("ID", "IBLOCK_SECTION_ID", "IBLOCK_ID", 'PROPERTY_PRICE'));
Answer the question
In order to leave comments, you need to log in
In the filter, pass 'SECTION_ID' => 4
, IBLOCK_SECTION_ID
indicated inarOrder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question