Skip to content

Commit fd7a945

Browse files
author
Doug Van Horn
committed
Fix MDN admin search, add missing message relation.
1 parent 59cebe6 commit fd7a945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyas2/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def has_add_permission(self, request):
186186

187187
search_fields = (
188188
"mdn_id",
189-
"message_id",
189+
"message__message_id",
190190
)
191191
list_display = ("mdn_id", "message", "timestamp", "status")
192192
list_filter = ("status",)

0 commit comments

Comments
 (0)