zet-lib 1.3.2 → 1.3.3

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 +5 -1
  2. package/package.json +1 -1
package/lib/zRoute.js CHANGED
@@ -2197,10 +2197,14 @@ zRoute.postGridReload = async (req, res) => {
2197
2197
  let routeName = res.locals.routeName
2198
2198
  let userId = res.locals.userId
2199
2199
  let json = Util.jsonSuccess('Successfully to reset grid filter ')
2200
- await connection.delete({
2200
+ let result = await connection.update({
2201
2201
  table: gridTable,
2202
+ data: {
2203
+ filter: null,
2204
+ },
2202
2205
  where: { user_id: userId, route_name: routeName },
2203
2206
  })
2207
+
2204
2208
  //await zRoute.attributeData(res, )
2205
2209
  res.json(json)
2206
2210
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"