Skip to content

v1.3.1 — SoftDeletes fix

Latest

Choose a tag to compare

@almirhodzic almirhodzic released this 21 Apr 13:44

Fixed

The toggle endpoint returned a 404 for soft-deleted records, making the
toggle unusable from "With Trashed" / lens views that surface trashed rows.

The lookup now applies withTrashed() when the Nova resource uses soft
deletes. Behavior is unchanged for resources without soft deletes, and the
authorization and toggleable-attribute whitelist checks continue to apply
to trashed records as well.

Thanks to Roberto Negro for the fix
(#2).

Upgrading

Drop-in upgrade — just run composer update almirhodzic/nova-toggle-5.