fix
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user