Y
Y
YakutD2019-08-14 12:22:19
1C-Bitrix
YakutD, 2019-08-14 12:22:19

How to search by multiple property in datamager?

Hello, I have a highloadblock and it has a multiple IMG field. I'm looking like this:

$link = 'какая то строка которая 100% есть в хайлоад блоке';
$result = ClassTable::getList(
[
'select'=>['*'],
'filter' => ['=IMG'=>[$link]]
]
);

Well, then I try to make a fetch. Returns null. If I try to do a search on some other single field, then everything is fine.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Georgy Baruchyan, 2019-08-16
@Snatch87

try just 'filter' => ['IMG'=>$link]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question