From 26134a21856bcfec889805a32a8c76bc26d2e7bd Mon Sep 17 00:00:00 2001 From: frozenhelium Date: Tue, 16 Jan 2024 16:23:06 +0545 Subject: [PATCH] Fix default filter for all deployed personnels --- src/views/AllDeployedPersonnel/index.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/views/AllDeployedPersonnel/index.tsx b/src/views/AllDeployedPersonnel/index.tsx index 5bc486f49..ecde3abfb 100644 --- a/src/views/AllDeployedPersonnel/index.tsx +++ b/src/views/AllDeployedPersonnel/index.tsx @@ -36,7 +36,6 @@ type PersonnelTableItem = NonNullable['resul function keySelector(personnel: PersonnelTableItem) { return personnel.id; } -const now = new Date().toISOString(); // eslint-disable-next-line import/prefer-default-export export function Component() { @@ -72,7 +71,6 @@ export function Component() { limit, offset, ordering, - end_date__gt: now, // FIXME: The server does not support date string start_date__gte: toDateTimeString(filter.startDateAfter), start_date__lte: toDateTimeString(filter.startDateBefore),