Skip to content

Commit

Permalink
fix(admin): fix FieldError on admin user change page
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmarchd01 committed Aug 14, 2024
1 parent 5ae61a9 commit 16ec9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/cantusdb_project/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class SourceInline(admin.TabularInline):
model = Source.current_editors.through
raw_id_fields = ["source"]
ordering = ("holding_institution__siglum",)
ordering = ("source__holding_institution__siglum",)
verbose_name_plural = "Sources assigned to User"


Expand Down

0 comments on commit 16ec9f3

Please sign in to comment.