1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Add true note name if we use an alias

This commit is contained in:
Yohann D'ANELLO
2020-03-12 11:12:21 +01:00
parent b6c3178052
commit e0c650a039
3 changed files with 20 additions and 9 deletions

View File

@ -86,7 +86,7 @@ class NotePolymorphicViewSet(viewsets.ModelViewSet):
else:
queryset = queryset.none()
return queryset
return queryset.distinct()
class AliasViewSet(viewsets.ModelViewSet):