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();
- [Vuejs]-Set-Cookie not accessible through axios or fetch
- [Vuejs]-Vue.js – Inject el elements to html
Source:stackexchange.com