@crystaldesign/products-component 24.15.0-beta.7 → 24.15.0-beta.9

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.
@@ -300,7 +300,7 @@ function initFilterParams() {
300
300
  var value = filter[i][1];
301
301
  if (param === 'searchtext') continue;
302
302
  //range
303
- if (value.includes('-')) {
303
+ if (value.includes('-') && value.split('-').length === 2) {
304
304
  var values = value.split('-');
305
305
  initFilter[param] = {
306
306
  type: 'range',
@@ -284,7 +284,7 @@ function initFilterParams() {
284
284
  var value = filter[i][1];
285
285
  if (param === 'searchtext') continue;
286
286
  //range
287
- if (value.includes('-')) {
287
+ if (value.includes('-') && value.split('-').length === 2) {
288
288
  var values = value.split('-');
289
289
  initFilter[param] = {
290
290
  type: 'range',