diff --git a/frontend/views/layouts/_category_menu.php b/frontend/views/layouts/_category_menu.php index d18fc35..abb9a3d 100755 --- a/frontend/views/layouts/_category_menu.php +++ b/frontend/views/layouts/_category_menu.php @@ -9,6 +9,10 @@ * @var Category[] $categories */ +$categories = \artbox\catalog\models\Category::find() + ->with('categories.lang', 'lang.alias') + ->where([ 'level' => 0 ]) + ->all(); ?>