This commit is contained in:
Ludovic CANDELLIER
2022-04-25 20:29:50 +02:00
parent 3c8fab27da
commit 904110d10f

View File

@@ -11,7 +11,7 @@ class Categories
public static function getByHomepage() public static function getByHomepage()
{ {
return Category::homepage()->orderBy('name', 'asc')->get(); return Category::visible()->homepage()->orderBy('name', 'asc')->get();
} }
public static function getAll() public static function getAll()