@budibase/frontend-core 1.4.12 → 1.4.14

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 CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "1.4.12",
3
+ "version": "1.4.14",
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": "^1.4.12",
9
+ "@budibase/bbui": "^1.4.14",
10
10
  "lodash": "^4.17.21",
11
11
  "svelte": "^3.46.2"
12
12
  },
13
- "gitHead": "c5efba06287ecfb97fc73c97ba918ea04a6fc3e5"
13
+ "gitHead": "86cba9de8fc38acb4a4a6b5fcf08359cbd45751e"
14
14
  }
@@ -136,14 +136,12 @@ export default class DataFetch {
136
136
  }
137
137
 
138
138
  // Determine what sort type to use
139
- if (!this.options.sortType) {
140
- let sortType = "string"
141
- if (sortColumn) {
142
- const type = schema?.[sortColumn]?.type
143
- sortType = type === "number" ? "number" : "string"
144
- }
145
- this.options.sortType = sortType
139
+ let sortType = "string"
140
+ if (sortColumn) {
141
+ const type = schema?.[sortColumn]?.type
142
+ sortType = type === "number" ? "number" : "string"
146
143
  }
144
+ this.options.sortType = sortType
147
145
 
148
146
  // Build the lucene query
149
147
  let query = this.options.query