Merge branch 'aureplop/fix-attributions-admin' into 'master'
Fix attribution inlines of participant in admin See merge request !255
This commit is contained in:
commit
22413d861c
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