home page mobile changed

This commit is contained in:
merdan 2020-03-28 16:13:32 +05:00
parent 3a791c9395
commit 7fdf968eac
1 changed files with 1 additions and 1 deletions

View File

@ -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'])