MCPcopy Create free account
hub / github.com/alephdata/aleph / updateQuery

Method updateQuery

ui/src/components/EntityTable/EntityTable.jsx:91–98  ·  view source on GitHub ↗
(newQuery)

Source from the content-addressed store, hash-verified

89 }
90
91 updateQuery(newQuery) {
92 const { navigate, location } = this.props;
93 navigate({
94 pathname: location.pathname,
95 search: newQuery.toLocation(),
96 hash: location.hash,
97 });
98 }
99
100 updateSelection(entityIds, newVal) {
101 this.setState(({ selection }) => {

Callers 6

onSortColumnMethod · 0.95
onSearchSubmitMethod · 0.95
onToggleFacetMethod · 0.45
onSelectMethod · 0.45
onClearDatesMethod · 0.45
updateFacetSizeMethod · 0.45

Calls 1

toLocationMethod · 0.80

Tested by

no test coverage detected