update for aboutcompany components - IBLOCK ID to constants
This commit is contained in:
parent
2176540715
commit
52b9beb276
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user