update for aboutcompany components - IBLOCK ID to constants

This commit is contained in:
merelendor 2022-09-12 10:43:03 +03:00
parent 2176540715
commit 52b9beb276
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
{
$arResult = [];
$sort = Array("SORT" => "ASC", "NAME" => "ASC");
$filter = Array("ACTIVE" => "Y", "IBLOCK_ID" => 23);
$filter = Array("ACTIVE" => "Y", "IBLOCK_ID" => IBLOCK_ID_ABOUTCOMPANY_LEADERS);
$options = Array("nPageSize" => 1000);
$res = CIBlockElement::GetList($sort, $filter, false, $options);

View File

@ -21,7 +21,7 @@ if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
{
$arResult = [];
$sort = Array("PROPERTY_YEAR" => "DESC", "SORT" => "DESC",);
$filter = Array("ACTIVE" => "Y", "IBLOCK_ID" => 22);
$filter = Array("ACTIVE" => "Y", "IBLOCK_ID" => IBLOCK_ID_ABOUTCOMPANY_ROADMAP);
$options = Array("nPageSize" => 1000);
$res = CIBlockElement::GetList($sort, $filter, false, $options);