@civicactions/cmsds-open-data-components 4.0.19-alpha.0 → 4.0.19-alpha.1
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/dist/main.js +0 -9
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1526,16 +1526,7 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
|
|
|
1526
1526
|
if (existingFacet > -1) newFacets.keyword.splice(existingFacet, 1);
|
|
1527
1527
|
else newFacets.keyword.push(value);
|
|
1528
1528
|
}
|
|
1529
|
-
const urlString = (0, $hgUW1$qs).stringify({
|
|
1530
|
-
theme: newFacets.theme,
|
|
1531
|
-
keyword: newFacets.keyword
|
|
1532
|
-
}, {
|
|
1533
|
-
encodeValuesOnly: true,
|
|
1534
|
-
addQueryPrefix: true
|
|
1535
|
-
});
|
|
1536
1529
|
setSelectedFacets(newFacets);
|
|
1537
|
-
const url = new URL(window.location.href);
|
|
1538
|
-
window.history.pushState({}, '', `${url.origin}${url.pathname}${urlString}`);
|
|
1539
1530
|
}
|
|
1540
1531
|
const pageSize = defaultPageSize;
|
|
1541
1532
|
function resetFilters() {
|