Answer the question
In order to leave comments, you need to log in
Why does an empty selection come up when trying to get a property?
When using "CIBlockElement::getList()" I make a selection over several infoblocks, then if I try to get the property values for the elements (which are in all infoblocks), the selection comes up empty. If you make a selection for one infoblock with the same set of parameters, then the data comes in correctly. If you make a selection by several infoblocks without taking into account properties (do not get properties), then the data comes correct.
Has anyone come across? Mistake?
$result = CIBlockElement::getList(
['sort' => 'asc'],
[
'IBLOCK_TYPE' => $this->arParams['IBLOCK_TYPE']
],
false, false,
['ID', 'IBLOCK_ID', 'NAME', 'PROPERTY_PRICE']
);
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