@budibase/frontend-core 1.2.36 → 1.2.39-alpha.0
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/package.json +3 -3
- package/src/utils/lucene.js +4 -0
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/frontend-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.39-alpha.0",
|
|
4
4
|
"description": "Budibase frontend core libraries used in builder and client",
|
|
5
5
|
"author": "Budibase",
|
|
6
6
|
"license": "MPL-2.0",
|
|
7
7
|
"svelte": "src/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@budibase/bbui": "
|
|
9
|
+
"@budibase/bbui": "1.2.39-alpha.0",
|
|
10
10
|
"lodash": "^4.17.21",
|
|
11
11
|
"svelte": "^3.46.2"
|
|
12
12
|
},
|
|
13
|
-
"gitHead": "
|
|
13
|
+
"gitHead": "58abbb6c8899474d54f71c7a7b5b748127aa8e45"
|
|
14
14
|
}
|
package/src/utils/lucene.js
CHANGED
|
@@ -103,6 +103,10 @@ export const buildLuceneQuery = filter => {
|
|
|
103
103
|
const isHbs =
|
|
104
104
|
typeof value === "string" && value.match(HBS_REGEX)?.length > 0
|
|
105
105
|
// Parse all values into correct types
|
|
106
|
+
if (operator === "allOr") {
|
|
107
|
+
query.allOr = true
|
|
108
|
+
return
|
|
109
|
+
}
|
|
106
110
|
if (type === "datetime") {
|
|
107
111
|
// Ensure date value is a valid date and parse into correct format
|
|
108
112
|
if (!value) {
|