{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/6839","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/6839/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/6839/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/6839/events","html_url":"https://github.com/grafana/grafana/issues/6839","id":193677610,"number":6839,"title":"[Bug] Ad-Filter from different dashboard leaks into another.","user":{"login":"tevjef","id":1676418,"avatar_url":"https://avatars.githubusercontent.com/u/1676418?v=3","gravatar_id":"","url":"https://api.github.com/users/tevjef","html_url":"https://github.com/tevjef","followers_url":"https://api.github.com/users/tevjef/followers","following_url":"https://api.github.com/users/tevjef/following{/other_user}","gists_url":"https://api.github.com/users/tevjef/gists{/gist_id}","starred_url":"https://api.github.com/users/tevjef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tevjef/subscriptions","organizations_url":"https://api.github.com/users/tevjef/orgs","repos_url":"https://api.github.com/users/tevjef/repos","events_url":"https://api.github.com/users/tevjef/events{/privacy}","received_events_url":"https://api.github.com/users/tevjef/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-06T03:59:41Z","updated_at":"2016-12-06T04:23:02Z","closed_at":"2016-12-06T04:23:02Z","body":"**- What Grafana version are you using?**\r\n4.0.1\r\n\r\n**- What datasource are you using?**\r\nInfluxDB\r\n\r\n**- What OS are you running grafana on?**\r\nLinux\r\n\r\n**- What did you do?**\r\nOne of my dashboards has an Ad-hoc filter. On 2 occasions when adding a new graph in an entirely separate dashboard I kept getting no results from my datasource. On further troubleshooting I noticed an errant `AND` in the `WHERE` clause (that's not in the edit mode string) which seems to corresponds to an aways activated ad-hoc filter in the other dashboard. The ad-hoc filter is connected to the same datasource as the new graph I was trying to add.\r\n\r\nLeaving the dashboard an reentering seems resolves the problem. Refreshing does not. \r\n"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/265057182","html_url":"https://github.com/grafana/grafana/issues/6839#issuecomment-265057182","issue_url":"https://api.github.com/repos/grafana/grafana/issues/6839","id":265057182,"user":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T04:23:02Z","updated_at":"2016-12-06T04:23:02Z","body":"This is fixed in master and v4. 0.x branch, can't find the other issue right now, on mobile.  Check changelog "}}
{"actor":{"display_login":"torkelo"}}