Sorry my bad english.
I need to transfer to the grid not all orders, but with a specific selection, for example:
->create(['query' => Orders::query()->whereNotNull('processed_at'), 'request' => $request])
If i do search, i have bug:
select * fromorderswhere (processed_atis not null orphonelike %111111111% oremaillike %111111111%) andorders.deleted_atis null order byid1desc limit 15
my request hits to search request with or: processed_at is not null or `phone
Sorry my bad english. I need to transfer to the grid not all orders, but with a specific selection, for example:
->create(['query' => Orders::query()->whereNotNull('processed_at'), 'request' => $request])
If i do search, i have bug:select * from
orderswhere (
processed_atis not null or
phonelike %111111111% or
emaillike %111111111%) and
orders.
deleted_atis null order by
id1desc limit 15
my request hits to search request with or:processed_at
is not null or `phone