[Vuejs]-Ordering with search in brackets ui laravel

0👍

Please add get()  method 
please modify the query like below.
$data = AdminListing::create(Order::class)->attachOrdering('id', 'desc')->processRequestAndGet(
        // pass the request with params
            $request,
            // set columns to query
            ['id', 'name', 'created_at', 'phone', 'total_amount', 'status','discount','user_order_note'],
            // set columns to searchIn
            ['id', 'name', 'created_at', 'phone', 'total_amount', 'status','discount','user_order_note']
        )->get();

Leave a comment