diff --git a/VERSION b/VERSION index b63ba69..68c123c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.9 +0.10 diff --git a/src/data_service.js b/src/data_service.js index 1dae6dd..06177a9 100644 --- a/src/data_service.js +++ b/src/data_service.js @@ -293,9 +293,8 @@ function getRequest(target, requestTime) { sort.push({ k1: sortDirection }); } } else { - // for table panels, sort data by first metric. - // users can then re-sort by clicking table headers, but data stays the same (no re-fetch). - sort = [{ v0: sortDirection }]; + // sort table by first label, let Grafana to sort the final table then + sort = [{ k0: sortDirection }]; } return sort;