I want to edit a trashed item which is soft deleted, but it is giving 404 error. The url is like /admin/orders/7/edit Also the show page giving 404 /admin/orders/7/show
I tried implementing below:
- Trash Operation.
- custom middleware to ResolveTrashedModelForBackpack
You can not edit a deleted item; to do this, you need to restore, by default, in a query is checked that is_deleted is null.
If you want to add this feature, you will need to override the query like this:
Cheers.