fix --> tags by batch
This commit is contained in:
@@ -128,7 +128,7 @@ class TagViewSet(BaseViewSet, TagService, SoftDeleteMixin, DynamicSearchMixin, v
|
||||
"""
|
||||
get tags by batch id
|
||||
"""
|
||||
tags = self.queryset.filter(tags__id=pk)
|
||||
tags = self.queryset.filter(batches__id=pk)
|
||||
|
||||
page = self.paginate_queryset(tags)
|
||||
if page is not None: # noqa
|
||||
|
||||
Reference in New Issue
Block a user