fix --> tags by batch

This commit is contained in:
2026-01-25 11:41:37 +03:30
parent 08468fe67c
commit c173a1cd85

View File

@@ -128,7 +128,7 @@ class TagViewSet(BaseViewSet, TagService, SoftDeleteMixin, DynamicSearchMixin, v
""" """
get tags by batch id get tags by batch id
""" """
tags = self.queryset.filter(tags__id=pk) tags = self.queryset.filter(batches__id=pk)
page = self.paginate_queryset(tags) page = self.paginate_queryset(tags)
if page is not None: # noqa if page is not None: # noqa