jsl-ui 9.27.0 → 9.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -123,7 +123,7 @@ var DateRangeFilter = /** @class */ (function () {
|
|
|
123
123
|
var min = dateRangeComp.getMin();
|
|
124
124
|
var max = dateRangeComp.getMax();
|
|
125
125
|
_this.grid.clearFilter(col.id, true);
|
|
126
|
-
if (min.getDate() !== minVal.getDate() || max.getDate() !== maxVal.getDate()) {
|
|
126
|
+
if (min.getDate() !== minVal.getDate() || min.getFullYear() !== minVal.getFullYear() || max.getDate() !== maxVal.getDate() || max.getFullYear() !== maxVal.getFullYear()) {
|
|
127
127
|
var filterObject = {
|
|
128
128
|
field: col.field, columnId: col.id, match: mode === "server" ? function () { return true; } : function (item, field) {
|
|
129
129
|
return _this.grid.getDataItemValueForColumn(item, col) >= min && _this.grid.getDataItemValueForColumn(item, col) <= max;
|