1С-Битрикс
- 3 ответа
- 0 вопросов
0
Вклад в тег
...
$GLOBALS['arSectionFilter'] = [];
$request = \Bitrix\Main\Context::getCurrent()->getRequest();
$filterValue = $request->getQuery('filtername');
if ($filterValue) {
$GLOBALS['arSectionFilter'] = [
'UF_CUSTOM_FIELD' => $filterValue
];
}
$APPLICATION->IncludeComponent(
'bitrix:catalog.section.list',
'',
array(
'FILTER_NAME' => 'arSectionFilter',
...
)
)