{"action":"closed","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/1625","labels_url":"https://api.github.com/repos/grafana/grafana/issues/1625/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/1625/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/1625/events","html_url":"https://github.com/grafana/grafana/issues/1625","id":63440348,"number":1625,"title":"Grafana 2.0: \"order asc\" in query results in InfluxDB 0.9.x error","user":{"login":"salsa-dev","id":103720,"avatar_url":"https://avatars.githubusercontent.com/u/103720?v=3","gravatar_id":"","url":"https://api.github.com/users/salsa-dev","html_url":"https://github.com/salsa-dev","followers_url":"https://api.github.com/users/salsa-dev/followers","following_url":"https://api.github.com/users/salsa-dev/following{/other_user}","gists_url":"https://api.github.com/users/salsa-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/salsa-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salsa-dev/subscriptions","organizations_url":"https://api.github.com/users/salsa-dev/orgs","repos_url":"https://api.github.com/users/salsa-dev/repos","events_url":"https://api.github.com/users/salsa-dev/events{/privacy}","received_events_url":"https://api.github.com/users/salsa-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-21T18:49:17Z","updated_at":"2015-03-21T22:08:03Z","closed_at":"2015-03-21T22:08:03Z","body":"Hi!\r\n\r\nI'm testing Grafana 2.0 (latest code from develop branch) with InfluxDB 0.9.x (master branch) .\r\nWhen making a query in Grafana it gives an \"InfluxDB Error\".\r\nThe Inspector shows the full query which is simple:\r\nselect mean(value) from \"sin\" where time > now() - 6h group by time(10s) order asc \r\n\r\nI found out that editing the line\r\n`src/app/plugins/datasource/influxdb/queryBuilder.js +47`\r\nto \r\n`    query += \" order by asc\";`\r\nmakes it work.\r\n\r\nCould you please look into it and if possible apply a fix to change queryBuilder.js.\r\n\r\nThanks!"}}