Answer the question
In order to leave comments, you need to log in
Why doesn't "group" work in Bitrix\Sale\PropertyValueCollection::getList?
Trying to get the number of orders made for each INN:
$inn = Bitrix\Sale\PropertyValueCollection::getList([
'order' => [],
'select' => ['*'],
'group' => ['COUNT' => 'VALUE'],
'filter' => [
'!ORDER_ID' => false,
'CODE' => "INN"
]
])->fetchAll();
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