forked from DGNum/gestioCOF
Fix attribution inlines of participant in admin
This commit is contained in:
parent
11e8cb1be2
commit
d18fb86a98
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class AttributionInline(admin.TabularInline):
|
|||
def get_queryset(self, request):
|
||||
qs = super().get_queryset(request)
|
||||
if self.listing is not None:
|
||||
qs.filter(spectacle__listing=self.listing)
|
||||
qs = qs.filter(spectacle__listing=self.listing)
|
||||
return qs
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue