Skip to content

Commit

Permalink
SVYX-361: Fix warning upon restore
Browse files Browse the repository at this point in the history
  • Loading branch information
paronne committed Jan 17, 2022
1 parent a2c8d89 commit 3240a42
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion svyPopupFilter/svyToolbarFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2146,7 +2146,12 @@ function initAbstractToolbarFilterUX() {
var popupFilter = this.getOrCreateToolbarFilter(filter.dataprovider);
popupFilter.setValues(values);
popupFilter.setOperator(operator);
popupFilter.setUseLocalDateTime(filter.useLocalDateTime);

// for date filter set localDateTime
if (filter.filterType == FILTER_TYPES.DATE) {
popupFilter.setUseLocalDateTime(filter.useLocalDateTime);
}

this.onFilterApply(values, operator, popupFilter, true);
}

Expand Down

0 comments on commit 3240a42

Please sign in to comment.