@graphcommerce/magento-product 9.1.0-canary.33 → 9.1.0-canary.35
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/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 9.1.0-canary.35
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [`4b02607`](https://github.com/graphcommerce-org/graphcommerce/commit/4b02607b26dd45e33bba3fb73d36052757dc2dec) - Solve issue where seaches containing a `/` would not consider everything after the `/` as part of the search. ([@paales](https://github.com/paales))
|
8
|
+
|
9
|
+
## 9.1.0-canary.34
|
10
|
+
|
3
11
|
## 9.1.0-canary.33
|
4
12
|
|
5
13
|
## 9.1.0-canary.32
|
@@ -15,7 +15,12 @@ export function parseParams(
|
|
15
15
|
filterTypes: FilterTypes,
|
16
16
|
search: string | null = null,
|
17
17
|
): ProductListParams | undefined {
|
18
|
-
const productListParams: ProductListParams = {
|
18
|
+
const productListParams: ProductListParams = {
|
19
|
+
url,
|
20
|
+
filters: {},
|
21
|
+
sort: {},
|
22
|
+
search: search ? decodeURIComponent(search) : null,
|
23
|
+
}
|
19
24
|
|
20
25
|
const typeMap = filterTypes
|
21
26
|
|
@@ -16,7 +16,7 @@ export function productListLinkFromFilter(props: ProductFilterParams): string {
|
|
16
16
|
const uid = incoming?.category_uid?.eq || incoming?.category_uid?.in?.[0]
|
17
17
|
|
18
18
|
let urlBase = url
|
19
|
-
if (isSearch) urlBase = search ? `search/${search}` : 'search'
|
19
|
+
if (isSearch) urlBase = search ? `search/${encodeURIComponent(search)}` : 'search'
|
20
20
|
|
21
21
|
// base url path generation
|
22
22
|
let paginateSort = ''
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "9.1.0-canary.
|
5
|
+
"version": "9.1.0-canary.35",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -18,18 +18,18 @@
|
|
18
18
|
"typescript": "5.7.2"
|
19
19
|
},
|
20
20
|
"peerDependencies": {
|
21
|
-
"@graphcommerce/ecommerce-ui": "^9.1.0-canary.
|
22
|
-
"@graphcommerce/eslint-config-pwa": "^9.1.0-canary.
|
23
|
-
"@graphcommerce/framer-next-pages": "^9.1.0-canary.
|
24
|
-
"@graphcommerce/framer-scroller": "^9.1.0-canary.
|
25
|
-
"@graphcommerce/graphql": "^9.1.0-canary.
|
26
|
-
"@graphcommerce/graphql-mesh": "^9.1.0-canary.
|
27
|
-
"@graphcommerce/image": "^9.1.0-canary.
|
28
|
-
"@graphcommerce/magento-cart": "^9.1.0-canary.
|
29
|
-
"@graphcommerce/magento-store": "^9.1.0-canary.
|
30
|
-
"@graphcommerce/next-ui": "^9.1.0-canary.
|
31
|
-
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.
|
32
|
-
"@graphcommerce/typescript-config-pwa": "^9.1.0-canary.
|
21
|
+
"@graphcommerce/ecommerce-ui": "^9.1.0-canary.35",
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^9.1.0-canary.35",
|
23
|
+
"@graphcommerce/framer-next-pages": "^9.1.0-canary.35",
|
24
|
+
"@graphcommerce/framer-scroller": "^9.1.0-canary.35",
|
25
|
+
"@graphcommerce/graphql": "^9.1.0-canary.35",
|
26
|
+
"@graphcommerce/graphql-mesh": "^9.1.0-canary.35",
|
27
|
+
"@graphcommerce/image": "^9.1.0-canary.35",
|
28
|
+
"@graphcommerce/magento-cart": "^9.1.0-canary.35",
|
29
|
+
"@graphcommerce/magento-store": "^9.1.0-canary.35",
|
30
|
+
"@graphcommerce/next-ui": "^9.1.0-canary.35",
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.35",
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^9.1.0-canary.35",
|
33
33
|
"@lingui/core": "^4.2.1",
|
34
34
|
"@lingui/macro": "^4.2.1",
|
35
35
|
"@lingui/react": "^4.2.1",
|