zet-lib 1.0.92 → 1.0.93

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.
Files changed (2) hide show
  1. package/lib/zRoute.js +1 -1
  2. package/package.json +1 -1
package/lib/zRoute.js CHANGED
@@ -1181,7 +1181,7 @@ zRoute.excelQuery = async (req, res, MYMODEL, paramsObject = {}) => {
1181
1181
  columns.forEach(function (item) {
1182
1182
  if (item.search.value) {
1183
1183
  let astype = 'text'
1184
- if (asDate.includes(fields[item.data])) {
1184
+ if (asDate.includes(body.fields[item.data])) {
1185
1185
  astype = 'date'
1186
1186
  }
1187
1187
  whereArray.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"