Skip to content

Commit 9af28d9

Browse files
authored
@W-18955816@ Remove search overrides (#2819)
* Remove search overrides * Update CHANGELOG.md
1 parent 271a1f1 commit 9af28d9

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

packages/pwa-kit-create-app/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Load active data scripts on demand only [#2623](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2623)
77
- Introduce the cursor rules to assist storefront project developers [#2578](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2578) [#2754](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2754)
88
- Add `StoreLocatorProvider` to the `AppConfig` template to support BOPIS [#2753](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2753)
9+
- Remove search constants overrides so more than 3 products at a time can be fetched [#2819](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2819)
910

1011
## v3.10.0 (May 22, 2025)
1112
- Add Data Cloud API configuration to `default.js`. [#2318](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2318)

packages/pwa-kit-create-app/assets/bootstrap/js/overrides/app/constants.js.hbs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,6 @@
1313
import the underlying constants.js, modifies it and re-export it.
1414
*/
1515

16-
import {
17-
DEFAULT_LIMIT_VALUES,
18-
DEFAULT_SEARCH_PARAMS
19-
} from '{{template.source.name}}/app/constants'
20-
21-
// original value is 25
22-
DEFAULT_LIMIT_VALUES[0] = 3
23-
DEFAULT_SEARCH_PARAMS.limit = 3
24-
2516
export const CUSTOM_HOME_TITLE = '🎉 Hello Extensible React Template!'
2617

27-
export {DEFAULT_LIMIT_VALUES, DEFAULT_SEARCH_PARAMS}
28-
2918
export * from '{{template.source.name}}/app/constants'

0 commit comments

Comments
 (0)