-
Notifications
You must be signed in to change notification settings - Fork 113
Search query Looking for '__soft_deleted' column #79
Comments
In my case, I was trying to search for only deleted models. This worked for me:
|
I am trying to query onlyTrashed models but this solution did not work for me - I still get the same error as OP. I have changed the 'soft_delete' boolean to 'true' in Anything else to try here? |
This pushed me in the right direction; I'm running this:
While having the 'soft_delete' boolean set to 'false' in |
Thanks, work also for me with callback in search method and config boolean set to false. |
My test returns this error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column '__soft_deleted' in 'where clause' (SQL: select count(*) as aggregate from `posts` where __soft_deleted = 0 AND MATCH(country,state,city,address,patient_avatar) AGAINST(Ismail IN NATURAL LANGUAGE MODE) and `posts`.`deleted_at` is null)
Any suggestion to solve this problem?
NB: I am using scout for first time.
The text was updated successfully, but these errors were encountered: