This commit is contained in:
@@ -516,7 +516,15 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
setSortIndicatorsFromDataListResponse(res) {},
|
||||
setSortIndicatorsFromDataListResponse(rsort) {
|
||||
// {
|
||||
// "sortBy": {
|
||||
// "customername": "-",
|
||||
// "customerphone1": "+",
|
||||
// "customeremail": "-"
|
||||
// }
|
||||
// }
|
||||
},
|
||||
refresh() {
|
||||
this.getDataFromApi();
|
||||
},
|
||||
@@ -708,7 +716,7 @@ export default {
|
||||
vm.headers = buildHeaders(res.columns);
|
||||
|
||||
//SET TABLE SORT HERE FROM RESPONSE
|
||||
setSortIndicatorsFromDataListResponse(res);
|
||||
vm.setSortIndicatorsFromDataListResponse(res.sortBy);
|
||||
|
||||
//Post process data here and then set vm.records
|
||||
vm.records = buildRecords(
|
||||
|
||||
Reference in New Issue
Block a user