chore: renamed target date to start date (#1902)

This commit is contained in:
Bavisetti Narayan 2023-08-18 15:25:42 +05:30 committed by GitHub
parent 93164755e2
commit 02ac4cee22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -994,11 +994,11 @@ class UserWorkspaceDashboardEndpoint(BaseAPIView):
upcoming_issues = Issue.issue_objects.filter( upcoming_issues = Issue.issue_objects.filter(
~Q(state__group__in=["completed", "cancelled"]), ~Q(state__group__in=["completed", "cancelled"]),
target_date__gte=timezone.now(), start_date__gte=timezone.now(),
workspace__slug=slug, workspace__slug=slug,
assignees__in=[request.user], assignees__in=[request.user],
completed_at__isnull=True, completed_at__isnull=True,
).values("id", "name", "workspace__slug", "project_id", "target_date") ).values("id", "name", "workspace__slug", "project_id", "start_date")
return Response( return Response(
{ {