fix: full_name→display_name in versions+folders SQL; DOMContentLoaded in DMS pages

This commit is contained in:
2026-05-26 23:31:49 +02:00
parent 01a63ebf46
commit 28997c4b99
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ function respondListPermissions(PDO $db, int $clientId, int $userId, string $ten
}
$stmt = $db->prepare(
"SELECT p.id, p.folder_id, p.min_role, p.user_id, p.can_read, p.can_write, p.can_manage,
p.created_at, u.email AS user_email, u.full_name AS user_name
p.created_at, u.email AS user_email, u.display_name AS user_name
FROM client_folder_permissions p
LEFT JOIN client_users u ON u.id = p.user_id
WHERE p.folder_id = ? AND p.client_id = ?