You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
public static function find (){ return parent: find () -> where (['isDeleted' => false]); }
for the record deleted $item = Item :: findOne ($ id); $item will be null $item->restore(); // restore record
This way, you can not restore marked items as deleted
The text was updated successfully, but these errors were encountered:
When I restore the record I get an error,
which is probably related to this. By using:
public static function find (){ return parent: find () -> where (['isDeleted' => false]); }
for the record deleted
$item = Item :: findOne ($ id);
$item
will be null$item->restore(); // restore record
This way, you can not restore marked items as deleted
The text was updated successfully, but these errors were encountered: