{"action":"opened","issue":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4343","repository_url":"https://api.github.com/repos/activeadmin/activeadmin","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4343/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4343/comments","events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4343/events","html_url":"https://github.com/activeadmin/activeadmin/issues/4343","id":140171330,"number":4343,"title":"filters does not apply when use custom scope","user":{"login":"gingray","id":832155,"avatar_url":"https://avatars.githubusercontent.com/u/832155?v=3","gravatar_id":"","url":"https://api.github.com/users/gingray","html_url":"https://github.com/gingray","followers_url":"https://api.github.com/users/gingray/followers","following_url":"https://api.github.com/users/gingray/following{/other_user}","gists_url":"https://api.github.com/users/gingray/gists{/gist_id}","starred_url":"https://api.github.com/users/gingray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gingray/subscriptions","organizations_url":"https://api.github.com/users/gingray/orgs","repos_url":"https://api.github.com/users/gingray/repos","events_url":"https://api.github.com/users/gingray/events{/privacy}","received_events_url":"https://api.github.com/users/gingray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-11T12:19:56Z","updated_at":"2016-03-11T12:19:56Z","closed_at":null,"body":"I've face with problem when filter does not apply when use custom scope which not defined in model. Also custom scope affects on other scopes\r\n\r\n```\r\n    scope('Deleted') { | scope | scope.where('deleted_at IS NOT NULL') }\r\n```\r\nExample of custom scope"}}