Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

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

lebaudantoine0c81d29ee70c
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",