@zengenti/contensis-react-base 3.0.0-beta.34 → 3.0.0-beta.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/esm/search.js CHANGED
@@ -1199,18 +1199,14 @@ const searchUriTemplate = {
1199
1199
  const currentSearch = !term && getImmutableOrJS(state, ['routing', 'location', 'search']);
1200
1200
  const currentQs = removeEmptyAttributes(parse(currentSearch));
1201
1201
  if (orderBy) currentQs.orderBy = orderBy;
1202
- const searchTerm = getSearchTerm(state); // Use Immutable's merge to merge the stateFilters with any current Qs
1203
- // to build the new Qs.
1202
+ const searchTerm = getSearchTerm(state); // Merge the stateFilters with any current qs to build the new qs
1204
1203
 
1205
1204
  const mergedSearch = removeEmptyAttributes({ ...merge(currentQs, stateFilters),
1206
1205
  term: searchTerm
1207
1206
  });
1208
1207
  return stringify(mergedSearch);
1209
1208
  },
1210
- hash: {
1211
- $path: 'state',
1212
- $formatting: state => getImmutableOrJS(state, ['routing', 'location', 'hash'], '').replace('#', '')
1213
- }
1209
+ hash: state => getImmutableOrJS(state, ['routing', 'location', 'hash'], '').replace('#', '')
1214
1210
  };
1215
1211
 
1216
1212
  const mapStateToSearchUri = params => mapJson(params, searchUriTemplate);