Skip to content

Commit

Permalink
SAK-46976 Job Scheduler date filters are not being applied
Browse files Browse the repository at this point in the history
  • Loading branch information
ropemar authored and Miguel Pellicer committed Feb 24, 2022
1 parent d6abbf0 commit d2eb7ec
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,8 @@ public String processSetFilters()
String beforeText = req.get(BEFORE);
String afterText = req.get(AFTER);
SimpleDateFormat sdf = new SimpleDateFormat(DATE_PATTERN);
getEventPager().setBefore(null);
getEventPager().setAfter(null);
try {
if (StringUtils.isNotBlank(beforeText)) {
getEventPager().setBefore(sdf.parse(beforeText));
Expand Down

0 comments on commit d2eb7ec

Please sign in to comment.