Skip to content
Snippets Groups Projects
Commit 62b342d2 authored by Timur Oberhuber's avatar Timur Oberhuber :speech_balloon:
Browse files

:bug: Fix time conversion bug

parent 628dcc92
No related branches found
No related tags found
1 merge request!314WAITING FOR OTTO - feat: :sparkles: Add filters to all applications/declarations pages
Pipeline #1008429 failed
......@@ -115,8 +115,10 @@ public class ApplicationController {
.filter(a -> filterCourseId == null
|| editionService.getOrThrow(a.getJobOffer().getEditionId()).getCourse().getId()
.equals(filterCourseId))
.filter(a -> filterStartDate == null || a.getLastModifiedDate().isAfter(filterStartDate))
.filter(a -> filterEndDate == null || a.getLastModifiedDate().isBefore(filterEndDate))
.filter(a -> filterStartDate == null
|| a.getLastModifiedDate().isAfter(filterStartDate.atStartOfDay()))
.filter(a -> filterEndDate == null
|| a.getLastModifiedDate().isBefore(filterEndDate.atTime(23, 59, 59, 999999999)))
.filter(a -> q == null
|| personService.getPersonById(a.getId().getPersonId()).getDisplayName().contains(q)
|| personService.getPersonById(a.getId().getPersonId()).getNumber().toString()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment