From 5a85cd945a001d3d60a34946b945f2fb09532e14 Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 2 Apr 2020 14:14:52 +0500 Subject: [PATCH] breadcrumbs fix with mobile reserved not to delete --- app/Models/Category.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Category.php b/app/Models/Category.php index e587970d..0d019383 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -110,8 +110,8 @@ class Category extends \Illuminate\Database\Eloquent\Model{ public function children(){ return $this->hasMany(Category::class,'parent_id') - ->select('id','title_'.Config::get('app.locale'),'parent_id','lft') - ->orderBy('lft'); + ->select('id','title_'.Config::get('app.locale'),'parent_id','lft'); +// ->orderBy('lft'); } public function scopeMain($query){ return $query->where('depth',1)->orderBy('lft','asc');