diff --git a/modules/ModuleFilter.php b/modules/ModuleFilter.php index 0d5be84..c028249 100644 --- a/modules/ModuleFilter.php +++ b/modules/ModuleFilter.php @@ -76,7 +76,7 @@ protected function compile() } } foreach ($item_ar as $item) { - if($selectedCat == $item['id']) { + if($selectedCat == $item['id'] || $selectedCat == $item['alias']) { $item['cssClass'] = $item['cssClass'] . " active"; } if(!empty($item['cssClass'])) {