mirror of https://github.com/grafana/grafana.git
fix(table panel): fixed column sort issue with table panel, #4532
This commit is contained in:
parent
d8499e6941
commit
1c97f10d8a
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
* **Dashboard**: Fixed dashboard panel layout for mobile devices, fixes [#4529](https://github.com/grafana/grafana/issues/4529)
|
* **Dashboard**: Fixed dashboard panel layout for mobile devices, fixes [#4529](https://github.com/grafana/grafana/issues/4529)
|
||||||
|
* **Table Panel**: Fixed issue with table panel sort, fixes [#4532](https://github.com/grafana/grafana/issues/4532)
|
||||||
* **Page Load Crash**: A Datasource with null jsonData would make Grafana fail to load page, fixes [#4536](https://github.com/grafana/grafana/issues/4536)
|
* **Page Load Crash**: A Datasource with null jsonData would make Grafana fail to load page, fixes [#4536](https://github.com/grafana/grafana/issues/4536)
|
||||||
|
|
||||||
# 3.0.0-beta1 (2016-03-31)
|
# 3.0.0-beta1 (2016-03-31)
|
||||||
|
|
|
@ -131,7 +131,9 @@ class TablePanelCtrl extends MetricsPanelCtrl {
|
||||||
this.panel.sort.desc = true;
|
this.panel.sort.desc = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.render();
|
this.table = transformDataToTable(this.dataRaw, this.panel);
|
||||||
|
this.table.sort(this.panel.sort);
|
||||||
|
this.render(this.table);
|
||||||
}
|
}
|
||||||
|
|
||||||
exportCsv() {
|
exportCsv() {
|
||||||
|
|
Loading…
Reference in New Issue