@rangertechnologies/ngnxt 2.1.297 → 2.1.298
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.
|
@@ -50718,7 +50718,7 @@ class NxtDatatable {
|
|
|
50718
50718
|
const rawValue = this.getObjValue(element, key);
|
|
50719
50719
|
if (rawValue !== undefined) {
|
|
50720
50720
|
const col = this.currentColumns.find(c => c.fieldName === key);
|
|
50721
|
-
const formatted = this.formatDateForSearch(rawValue, col);
|
|
50721
|
+
const formatted = col?.type === 'date' ? this.formatDateForSearch(rawValue, col) : rawValue;
|
|
50722
50722
|
filtObjs[key].push(formatted);
|
|
50723
50723
|
this.multipleFilterArray[key] = new Set(filtObjs[key]);
|
|
50724
50724
|
}
|
|
@@ -51119,7 +51119,7 @@ class NxtDatatable {
|
|
|
51119
51119
|
const rawValue = this.getObjValue(element, key);
|
|
51120
51120
|
if (rawValue !== undefined) {
|
|
51121
51121
|
const col = this.currentColumns.find(c => c.fieldName === key);
|
|
51122
|
-
const formatted = this.formatDateForSearch(rawValue, col);
|
|
51122
|
+
const formatted = col?.type === 'date' ? this.formatDateForSearch(rawValue, col) : rawValue;
|
|
51123
51123
|
filtObjs[key].push(formatted);
|
|
51124
51124
|
this.multipleFilterArray[key] = new Set(filtObjs[key]);
|
|
51125
51125
|
}
|
|
@@ -51727,7 +51727,7 @@ class NxtDatatable {
|
|
|
51727
51727
|
else if (!this.pagination) {
|
|
51728
51728
|
this.dataSource.data = this.originalData.filter(item => this.currentColumns.some(column => {
|
|
51729
51729
|
const cellValue = this.getObjValue(item, column.fieldName);
|
|
51730
|
-
const searchable = this.formatDateForSearch(cellValue, column);
|
|
51730
|
+
const searchable = column?.type === 'date' ? this.formatDateForSearch(cellValue, column) : cellValue;
|
|
51731
51731
|
return searchable.includes(filterValue);
|
|
51732
51732
|
}));
|
|
51733
51733
|
}
|
|
@@ -58049,7 +58049,7 @@ const VERSION = {
|
|
|
58049
58049
|
"semver": null,
|
|
58050
58050
|
"suffix": "68a4eb8b-dirty",
|
|
58051
58051
|
"semverString": null,
|
|
58052
|
-
"version": "2.1.
|
|
58052
|
+
"version": "2.1.298"
|
|
58053
58053
|
};
|
|
58054
58054
|
/* tslint:enable */
|
|
58055
58055
|
|