Skip to content
Discussion options

You must be logged in to vote

Based on the knowledge sources provided, I can help you with this issue related to previewing trashed Users in Backpack CRUD. The problem you're experiencing is a known issue with the ShowOperation when dealing with soft-deleted items.

To solve this, you need to modify the ShowOperation to include trashed items. Here's how you can do it:

  1. In your UserCrudController, you need to override the setupShowOperation method. Add the following code:
protected function setupShowOperation()
{
    CRUD::set('show.softDeletes', true);
}

This setting allows the Show operation to access soft-deleted items Show operation add softDeletes support.

  1. If the above doesn't work, you can try a more manual appr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by prescriptionlifeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant