Closed lduf closed 2 years ago
Same thing on the 'show' (detail) of the non deleted person
The debugging choice made is the complete deletion of all relations. This is not a soft delete but a force delete.
Currently, ->detach() on a relation deletes the pivot. In our case, the pivot is the link table.
If we want to switch with a softDelete on link, we have to change the boot delete of Refugee and do an update on links.deleted_at.
Also look at the query for link index.
Description of the bug Undefined ID when displaying the relations with a deleted person.
Severity of the bug
Appearance of the bug How this bug happened :
Ø Additional information Filter relations where from and to persons aren't deleted