From 0c81d29ee70c5dbfcf5166e63846ffb342aac56e Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 10 Jul 2026 00:05:05 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(backend)=20allow=20searching=20the=20?= =?UTF-8?q?recording=20admin=20table=20by=20owner=20email?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the owner's email to the searchable fields of the recording admin table. This makes it much more convenient for the support team to look up recordings by user. --- CHANGELOG.md | 4 ++++ src/backend/core/admin.py | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5b2f4aa..ac67ced1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to ## [Unreleased] +### Added + +- ✨(backend) allow searching the recording admin table by owner email + ### Changed - 🗑️(settings) deprecate SUMMARY_SERVICE_VERSION=1 diff --git a/src/backend/core/admin.py b/src/backend/core/admin.py index 0722c181..f99d86c2 100644 --- a/src/backend/core/admin.py +++ b/src/backend/core/admin.py @@ -402,7 +402,14 @@ class RecordingAdmin(admin.ModelAdmin): """Recording admin interface declaration.""" inlines = (RecordingAccessInline,) - search_fields = ["status", "=id", "worker_id", "room__slug", "=room__id"] + search_fields = [ + "status", + "=id", + "worker_id", + "room__slug", + "=room__id", + "accesses__user__email", + ] list_display = ( "id", "status",