dobo 2.6.1 → 2.6.2
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.
- package/lib/factory/model/_util.js +2 -1
- package/package.json +1 -1
- package/wiki/CHANGES.md +4 -0
|
@@ -63,7 +63,8 @@ export async function getFilterAndOptions (filter = {}, options = {}, action) {
|
|
|
63
63
|
for (const key of keys) {
|
|
64
64
|
nOptions[key] = options[key]
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
nFilter.orgQuery = nFilter.query
|
|
67
|
+
nFilter.orgSearch = nFilter.search
|
|
67
68
|
if (!nOptions.noModelHook) await runModelHook(this, 'beforeBuildQuery', nFilter.query, nOptions)
|
|
68
69
|
nFilter.query = buildFilterQuery.call(this, nFilter) ?? {}
|
|
69
70
|
if (!nOptions.noModelHook) await runModelHook(this, 'afterBuildQuery', nFilter.query, nOptions)
|
package/package.json
CHANGED
package/wiki/CHANGES.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 2026-02-02
|
|
4
|
+
|
|
5
|
+
- [2.6.2] Bug fix on query & search resolver: Do not remove old query/search, should always copied to oldQuery/oldSearch
|
|
6
|
+
|
|
3
7
|
## 2026-02-01
|
|
4
8
|
|
|
5
9
|
- [2.6.0] Add ```model.scanables``` for fields that can participate in table scans if necessary
|