@plasmicpkgs/commerce-shopify 0.0.46 → 0.0.49

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.
@@ -958,14 +958,15 @@ var getSearchVariables = function getSearchVariables(_ref) {
958
958
  sort = _ref.sort,
959
959
  locale = _ref.locale,
960
960
  count = _ref.count;
961
- var query = '';
961
+ var query = "";
962
+ var searchQuery = search + "*";
962
963
 
963
964
  if (search) {
964
- query += "product_type:" + search + " OR title:" + search + " OR tag:" + search + " ";
965
+ query += "product_type:" + searchQuery + " OR title:" + searchQuery + " OR tag:" + searchQuery;
965
966
  }
966
967
 
967
968
  if (brandId) {
968
- query += (search ? 'AND ' : '') + "vendor:" + brandId;
969
+ query += (search ? "AND " : "") + "vendor:" + brandId;
969
970
  }
970
971
 
971
972
  return _extends({