optiktr
optiktr
You can solve it by adding a complex filter. Write a manual sql query.
For API... ``` public function brands(Request $request) { $brand = $request->get('q'); $brandNames = Brand_category::where('category_id', $brand) ->join('brands', 'brand_category.brands_id', '=', 'brands.id') ->get([DB::raw('brand_category.brands_id as id'), DB::raw('brand_name as text')]); log::info($brandNames); return $brandNames; } ```...
Firstly, you need set to timezone on laravel. You saw diffrent times because you didnt set timezon. 'timezone' => 'Europe/Istanbul', //For Turkey... ``` config/app.php 'timezone' => 'UTC', olan kısmı 'timezone'...