From c173a1cd85040abbc3672dc40c1d0141ff42a87c Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Sun, 25 Jan 2026 11:41:37 +0330 Subject: [PATCH] fix --> tags by batch --- apps/tag/web/api/v1/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tag/web/api/v1/api.py b/apps/tag/web/api/v1/api.py index 430546a..ada7f9a 100644 --- a/apps/tag/web/api/v1/api.py +++ b/apps/tag/web/api/v1/api.py @@ -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