@budibase/shared-core 3.2.3 → 3.2.5

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/dist/index.js CHANGED
@@ -18419,7 +18419,12 @@ function fixupFilterArrays(filters) {
18419
18419
  function search(docs, query) {
18420
18420
  let result = runQuery(docs, query.query);
18421
18421
  if (query.sort) {
18422
- result = sort(result, query.sort, query.sortOrder || "ascending" /* ASCENDING */);
18422
+ result = sort(
18423
+ result,
18424
+ query.sort,
18425
+ query.sortOrder || "ascending" /* ASCENDING */,
18426
+ query.sortType
18427
+ );
18423
18428
  }
18424
18429
  const totalRows = result.length;
18425
18430
  if (query.limit) {