Removed getSortableAttributes
This commit is contained in:
parent
970d49d62b
commit
7facfcd3e8
2 changed files with 1 additions and 6 deletions
|
|
@ -31,11 +31,6 @@ export default class Index {
|
|||
};
|
||||
}
|
||||
|
||||
// TODO: replace to getSetting
|
||||
getSortableAttributes() {
|
||||
return query(`${this.path}/settings/sortable-attributes`);
|
||||
}
|
||||
|
||||
getStats() {
|
||||
return query(`${this.path}/stats`);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ export default class AdminIndexesItemDocumentsIndexRoute extends Route {
|
|||
index,
|
||||
searchSchema,
|
||||
data: index.search(options),
|
||||
sortableAttributes: index.getSortableAttributes(),
|
||||
sortableAttributes: index.getSetting('sortable-attributes'),
|
||||
displayedAttributes: index.getSetting('displayed-attributes'),
|
||||
stats: index.getStats(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue