Skip to content

Commit 75aa71b

Browse files
committed
fix #4911 Use raw id fields for files in admin
1 parent e34005c commit 75aa71b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/copyediting/admin.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,13 @@ class CopyeditAdmin(admin_utils.ArticleFKModelAdmin):
3939
"editor_note",
4040
"copyeditor_note",
4141
)
42-
raw_id_fields = ("article", "copyeditor", "editor")
43-
filter_horizontal = ("files_for_copyediting", "copyeditor_files")
42+
raw_id_fields = (
43+
"article",
44+
"copyeditor",
45+
"editor",
46+
"files_for_copyediting",
47+
"copyeditor_files",
48+
)
4449

4550
inlines = [admin_utils.AuthorReviewInline]
4651

0 commit comments

Comments
 (0)