@@ -71,7 +71,7 @@ |
||
| 71 | 71 | |
| 72 | 72 | <?php foreach ($properties |
| 73 | 73 | |
| 74 | - as $property) : ?> |
|
| 74 | + as $property) : ?> |
|
| 75 | 75 | <?php if ($property->property_type == \skeeks\cms\relatedProperties\PropertyType::CODE_LIST) : ?> |
| 76 | 76 | |
| 77 | 77 | <?php $pjax = \skeeks\cms\modules\admin\widgets\Pjax::begin(); ?> |
@@ -100,8 +100,8 @@ |
||
| 100 | 100 | * @var $element CmsContentElement |
| 101 | 101 | */ |
| 102 | 102 | foreach (CmsContentElement::find() |
| 103 | - //->orderBy(['id' => SORT_ASC]) |
|
| 104 | - ->each(10) as $element) { |
|
| 103 | + //->orderBy(['id' => SORT_ASC]) |
|
| 104 | + ->each(10) as $element) { |
|
| 105 | 105 | $this->stdout("\t Element: {$element->id}", Console::FG_YELLOW); |
| 106 | 106 | |
| 107 | 107 | if ($element->relatedPropertiesModel->save()) { |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | public function init() |
| 95 | 95 | { |
| 96 | 96 | $defaultFiltersModel = [ |
| 97 | - 'class' => DynamicConfigModel::class, |
|
| 97 | + 'class' => DynamicConfigModel::class, |
|
| 98 | 98 | ]; |
| 99 | 99 | |
| 100 | 100 | $this->filtersModel = ArrayHelper::merge($defaultFiltersModel, (array) $this->filtersModel); |