diff --git a/local/components/evolution/about.leaders/component.php b/local/components/evolution/about.leaders/component.php index 0a2b17c..1c1126d 100644 --- a/local/components/evolution/about.leaders/component.php +++ b/local/components/evolution/about.leaders/component.php @@ -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); diff --git a/local/components/evolution/about.roadmap/component.php b/local/components/evolution/about.roadmap/component.php index fab34e4..780de97 100644 --- a/local/components/evolution/about.roadmap/component.php +++ b/local/components/evolution/about.roadmap/component.php @@ -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);