@qite/tide-client 1.1.130 → 1.1.132

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/build/index.js CHANGED
@@ -6534,9 +6534,10 @@ var searchLocations = function (config, searchTerm, signal) {
6534
6534
  var apiKey = config.apiKey;
6535
6535
  var safeSearch = searchTerm.replace(/'/g, "''");
6536
6536
  var filter =
6537
- "$filter=contains(tolower(Name),'" + safeSearch.toLowerCase() + "')";
6538
- var top = "$top=10";
6539
- var url = "" + config.host + ENDPOINT_LOCATIONS$1 + "?" + filter + "&" + top;
6537
+ "$skip=0&$top=20&$orderby=name%20asc&$filter=contains(name," +
6538
+ safeSearch.toLowerCase() +
6539
+ ")";
6540
+ var url = "" + config.host + ENDPOINT_LOCATIONS$1 + "?" + filter;
6540
6541
  return get(url, apiKey, config.token, signal, true);
6541
6542
  };
6542
6543