@@ -577,7 +577,7 @@ public class WorkOverController {
}
if (endTime!=null) {
- searchParams.put("endTime", endTime);
+ searchParams.put("endDate", new DateTime(endTime).plusDays(1).plusSeconds(-1).toDate());