(backend) allow searching the recording admin table by owner email

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.
This commit is contained in:
lebaudantoine
2026-07-10 00:05:05 +02:00
committed by aleb_the_flash
parent 839a8f1c71
commit 0c81d29ee7
2 changed files with 12 additions and 1 deletions
+4
View File
@@ -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
+8 -1
View File
@@ -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",