thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.77k stars 2.67k forks source link

Error 404 when deleting softdeleted data #5745

Open toto975 opened 1 year ago

toto975 commented 1 year ago

Laravel version

9.31.0

PHP version

8.1.11

Voyager version

1.5

Database

MySQL 8.0.31

Description

A 404 error occurs when trying to delete a data which is already softdelted.

Steps to reproduce

The model has softdelete property. In bread browse, delete a data. Then show deleted datas. Then check the check box and click on the delete button in the header bar.

Expected behavior

The data is again sofdeleted without 404 error. Or Hide the check box for softdeleted datas

Screenshots

No response

Additional context

No response