sumba 2.32.0 → 2.32.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.
@@ -80,7 +80,7 @@ export async function applyAttribGuard ({ model, teamIds, options }) {
80
80
  async function rebuildFilter (model, filter = {}, options = {}) {
81
81
  const { isEmpty, get } = this.app.lib._
82
82
  const { req } = options
83
- const allowEmpty = !get(this, `app.${model.ns}.config.sumba.allowEmptyQuery`, []).includes(model.name)
83
+ const allowEmpty = !get(this, `app.${model.ns}.config.sumba.noEmptyQuery`, []).includes(model.name)
84
84
  const hasSiteId = model.hasProperty('siteId')
85
85
  const hasUserId = model.hasProperty('userId')
86
86
  const hasTeamId = model.hasProperty('teamId')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sumba",
3
- "version": "2.32.0",
3
+ "version": "2.32.1",
4
4
  "description": "Biz Suite for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -7,6 +7,7 @@
7
7
  - [2.32.0] Bug fix in ```getAttribGuards()```
8
8
  - [2.32.0] Bug fix in ```hooks.js```
9
9
  - [2.32.0] Change ```behavior``` to ```condition``` in ```SumbaModelGuard``` model
10
+ - [2.32.1] Bug fix in ```allowEmptyQuery``` options
10
11
 
11
12
  ## 2026-06-11
12
13