Skip to content

Commit

Permalink
fixes qs
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Oct 22, 2024
1 parent 5a908ea commit 49a94cc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/aurora/core/admin/custom_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ class CustomFieldTypeAdmin(SmartModelAdmin):
}

def get_queryset(self, request):
return (
super()
.get_queryset(request)
.annotate(name_deterministic=Collate("name", "und-x-icu"))
.select_related("flex_form")
)
return super().get_queryset(request).annotate(name_deterministic=Collate("name", "und-x-icu"))

@button()
def test(self, request, pk):
Expand Down

0 comments on commit 49a94cc

Please sign in to comment.