Skip to content

Commit cc32c3b

Browse files
authored
[Release] 2021-01-15 (#78)
* Fix: dropped import sysdig dashboard feature * Revert "Fix: dropped import sysdig dashboard feature" (#74) This reverts commit 15fac4f. * [Fix OSSPROJ-42 PF-6244] Sort table data by first metric, drop Sysdig dashboard import (#75) * dropped import sysdig dashboard feature * sort table data by first metric * fixed issue with plugin.json version * removed references to sysdig dashboard import in Readme * [Fix OSSPROJ-42 OSSPROJ-43] Table panels sort data by first selected "segment by" label (#77)
1 parent 6cebcd8 commit cc32c3b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9
1+
0.10

src/data_service.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,8 @@ function getRequest(target, requestTime) {
293293
sort.push({ k1: sortDirection });
294294
}
295295
} else {
296-
// for table panels, sort data by first metric.
297-
// users can then re-sort by clicking table headers, but data stays the same (no re-fetch).
298-
sort = [{ v0: sortDirection }];
296+
// sort table by first label, let Grafana to sort the final table then
297+
sort = [{ k0: sortDirection }];
299298
}
300299

301300
return sort;

0 commit comments

Comments
 (0)