I
I
Ildus Siraev2020-06-09 13:43:34
1C-Bitrix
Ildus Siraev, 2020-06-09 13:43:34

How to filter by multiple property in Highload blocks?

Hello!

There was a problem with filtering highload infoblocks (it seems after the last update of the BUS) (Version 20.0.1187).
There is an infoblock with multiple property "Binding to infoblock elements".

Until the last update, filtering by this property worked correctly

$rsData            = $entity_data_class::getList(array(
  "select" => array("*"),
  "order"  => array("ID" => "ASC"),
  "filter" => array(
    "UF_USER"       => array_keys($arCityUsers),
    "UF_DIRECTIONS" => $directions // Множественное свойство
  )
));


Now it gives an empty result. I searched the documentation for a solution to this problem, but to no avail.
Can someone tell me how to write a filter for a multiple property now?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrPo, 2020-06-09
@siril

In general, you puzzled with an interesting question, there is no way to understand the intricacies yet. Write UF_DIRECTIONS_SINGLE instead of
UF_DIRECTIONS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question