Problems with delete_ts and deleted_by fields

Entities are deleted and then restored.
It was found that the delete_ts field in the database was set to null, but the deleted_by field was not. It was not clear whether this was intentional or BUG.

Hi,

The Soft Delete functionality takes into account the deleteTs attribute when filtering entities that are returned by queries or search by id.

The deletedBy attribute is useful when you need to know who deleted an instance, e.g. when Entity Log is enabled.

Regards,
Gleb