From 7fdf968eacecfbfd7bd4f9a8633df9882a06c128 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 28 Mar 2020 16:13:32 +0500 Subject: [PATCH] home page mobile changed --- app/Http/Controllers/PublicController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/PublicController.php b/app/Http/Controllers/PublicController.php index 4b49066e..fd97da53 100644 --- a/app/Http/Controllers/PublicController.php +++ b/app/Http/Controllers/PublicController.php @@ -67,7 +67,7 @@ class PublicController extends Controller ->findOrFail($cat_id); $locale = Config::get('app.locale'); - $sub_cats = Category::select('id','parent_id',"title_.{$locale} as title",'events_limit') + $sub_cats = Category::select('id','parent_id',"title_{$locale} as title",'events_limit') ->with(["parent:id,title_{$locale} as title","cat_events" => function($q) use ($data,$order){ $q->select('id','sub_category_id','title_tk','title_ru') ->onLive($data['start'],$data['end'])