{"action":"closed","issue":{"url":"https://api.github.com/repos/refinery/refinerycms/issues/3012","labels_url":"https://api.github.com/repos/refinery/refinerycms/issues/3012/labels{/name}","comments_url":"https://api.github.com/repos/refinery/refinerycms/issues/3012/comments","events_url":"https://api.github.com/repos/refinery/refinerycms/issues/3012/events","html_url":"https://github.com/refinery/refinerycms/issues/3012","id":96165619,"number":3012,"title":"admin search not working on refinery engines.","user":{"login":"mlinfoot","id":102356,"avatar_url":"https://avatars.githubusercontent.com/u/102356?v=3","gravatar_id":"","url":"https://api.github.com/users/mlinfoot","html_url":"https://github.com/mlinfoot","followers_url":"https://api.github.com/users/mlinfoot/followers","following_url":"https://api.github.com/users/mlinfoot/following{/other_user}","gists_url":"https://api.github.com/users/mlinfoot/gists{/gist_id}","starred_url":"https://api.github.com/users/mlinfoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlinfoot/subscriptions","organizations_url":"https://api.github.com/users/mlinfoot/orgs","repos_url":"https://api.github.com/users/mlinfoot/repos","events_url":"https://api.github.com/users/mlinfoot/events{/privacy}","received_events_url":"https://api.github.com/users/mlinfoot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/refinery/refinerycms/labels/Awaiting%20Response","name":"Awaiting Response","color":"d7e102"},{"url":"https://api.github.com/repos/refinery/refinerycms/labels/Blocking%203.0.0","name":"Blocking 3.0.0","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/refinery/refinerycms/milestones/9","html_url":"https://github.com/refinery/refinerycms/milestones/3.0","labels_url":"https://api.github.com/repos/refinery/refinerycms/milestones/9/labels","id":1048588,"number":9,"title":"3.0","description":"","creator":{"login":"bricesanchez","id":1678530,"avatar_url":"https://avatars.githubusercontent.com/u/1678530?v=3","gravatar_id":"","url":"https://api.github.com/users/bricesanchez","html_url":"https://github.com/bricesanchez","followers_url":"https://api.github.com/users/bricesanchez/followers","following_url":"https://api.github.com/users/bricesanchez/following{/other_user}","gists_url":"https://api.github.com/users/bricesanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/bricesanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricesanchez/subscriptions","organizations_url":"https://api.github.com/users/bricesanchez/orgs","repos_url":"https://api.github.com/users/bricesanchez/repos","events_url":"https://api.github.com/users/bricesanchez/events{/privacy}","received_events_url":"https://api.github.com/users/bricesanchez/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":17,"state":"open","created_at":"2015-04-01T12:31:08Z","updated_at":"2015-08-23T23:16:34Z","due_on":"2015-08-23T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-07-20T21:31:20Z","updated_at":"2015-08-23T23:16:34Z","closed_at":"2015-08-23T23:16:34Z","body":"RefineryCMS 3.0.0, Rails 4.2.3\r\n\r\nRan into a problem on the backend -- searching pages (for example) from the admin ui works as expected, but throws an error when trying to search in an engine. The problem can be reproduced by:\r\n\r\n    rails new myapp -m http://refinerycms.com/t/edge\r\n    cd myapp\r\n    rails generate refinery:engine sample title:string\r\n    <bundle, generate, migrate, and seed>\r\n    rails server\r\n\r\nSwitch to the backend, add a few samples, and try to search. \r\n\r\nThe error is:\r\n\r\n    undefined method `with_query' for #<Refinery::Samples::Sample::ActiveRecord_Relation:0x007f94e471eb40>\r\n    Extracted source (around line #136):\r\n    134        arel.public_send(method, *args, &block)\r\n    135      else\r\n    136        super\r\n    137      end\r\n    138    end\r\n    139  end\r\n              \r\n\r\n"}}