Skip to content

Commit

Permalink
Display results of multiple queries in Admin UI, Not just the first q…
Browse files Browse the repository at this point in the history
…uery. Fixes #3503
  • Loading branch information
Vidhuran committed Feb 21, 2016
1 parent c1de263 commit d6f3628
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- [#5336](https://github.com/influxdata/influxdb/pull/5366): Enabled golint for influxql. @gabelev
- [#5706](https://github.com/influxdata/influxdb/pull/5706): Cluster setup cleanup
- [#5691](https://github.com/influxdata/influxdb/pull/5691): Remove associated shard data when retention policies are dropped.
- [#5737](https://github.com/influxdata/influxdb/pull/5737): Admin UI: Display results of multiple queries, not just the first query.

### Bugfixes

Expand Down
7 changes: 6 additions & 1 deletion services/admin/assets/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ var connectionString = function() {
}

var getSeriesFromJSON = function(data) {
var results = data.results[0].series;
var results = [];
data.results.forEach(function(result) {
result.series.forEach(function(s) {
results.push(s);
});
});
return results;
}

Expand Down
2 changes: 1 addition & 1 deletion services/admin/statik/statik.go

Large diffs are not rendered by default.

0 comments on commit d6f3628

Please sign in to comment.