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

Method defaultSortBy

ui/src/app/Query.js:179–184  ·  view source on GitHub ↗
(name, direction)

Source from the content-addressed store, hash-verified

177 }
178
179 defaultSortBy(name, direction) {
180 if (!this.hasSort()) {
181 return this.sortBy(name, direction);
182 }
183 return this;
184 }
185
186 limit(count) {
187 return this.set('limit', `${count}`);

Callers 6

investigationsQueryFunction · 0.80
datasetsQueryFunction · 0.80
mapStateToPropsFunction · 0.80
mapStateToPropsFunction · 0.80
mapStateToPropsFunction · 0.80
mapStateToPropsFunction · 0.80

Calls 2

hasSortMethod · 0.95
sortByMethod · 0.95

Tested by

no test coverage detected