Add soft-delete for students: deleted_at/purge_at columns, trash page, API filters and audit logs
This commit is contained in:
@@ -301,6 +301,8 @@ function normalizeRestoreData(data) {
|
||||
group_id: optInt(x.group_id, 0, 2147483647),
|
||||
photo_path: optUploadPath(x.photo_path, 255),
|
||||
profile: sanitizeStudentProfile(x.profile),
|
||||
deleted_at: optTs(x.deleted_at),
|
||||
purge_at: optTs(x.purge_at),
|
||||
}));
|
||||
const entries = (data.entries || []).map(x => ({
|
||||
id: reqInt(x.id),
|
||||
|
||||
Reference in New Issue
Block a user