skip to Main Content

Getting 404 on the soft-deleted items on preview but the preview modal is working fine

2

Answers


  1. You have not preview view for deleted items, in Backpack docs you can find information about Trash operation, this have a special view to restore or permanent delete the item. If you handle your CRUD in a special way need to know by default deleted items are hide.

    Make sure to read docs about Trash Operation to implemented correctly.

    Login or Signup to reply.
  2. There is a configuration for that in config/backpack/operations/show.php.
    You can use it to achieve the desired behavior.

    https://github.com/Laravel-Backpack/CRUD/blob/9181d89a96c4f2c356e65547d404741400883111/src/config/backpack/operations/show.php#L20

    Cheers

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search