Wall Filter Columns

This commit is contained in:
Lucas Bartholemy 2022-06-27 15:42:14 +02:00
parent ca880174e1
commit 7222df29af
2 changed files with 4 additions and 5 deletions

View File

@ -156,13 +156,13 @@ class WallStreamFilterNavigation extends FilterNavigation
$this->addFilterBlock(static::FILTER_BLOCK_DATE_FROM, [
'title' => Yii::t('StreamModule.filter', 'Date from'),
'sortOrder' => 100
], static::PANEL_COLUMN_4);
'sortOrder' => 500
], static::PANEL_COLUMN_2);
$this->addFilterBlock(static::FILTER_BLOCK_DATE_TO, [
'title' => Yii::t('StreamModule.filter', 'Date to'),
'sortOrder' => 200
], static::PANEL_COLUMN_4);
'sortOrder' => 600
], static::PANEL_COLUMN_2);
if(TopicPicker::showTopicPicker(ContentContainerHelper::getCurrent())) {

View File

@ -36,7 +36,6 @@ $panelColumn4Blocks = isset($panels[WallStreamFilterNavigation::PANEL_COLUMN_4])
<?= FilterPanel::widget(['blocks' => $panelColumn1Blocks, 'span' => count($panels)])?>
<?= FilterPanel::widget(['blocks' => $panelColumn2Blocks, 'span' => count($panels)])?>
<?= FilterPanel::widget(['blocks' => $panelColumn3Blocks, 'span' => count($panels)])?>
<?= FilterPanel::widget(['blocks' => $panelColumn4Blocks, 'span' => count($panels)])?>
</div>
</div>
</div>