{"action":"created","issue":{"url":"https://api.github.com/repos/dchester/epilogue/issues/81","labels_url":"https://api.github.com/repos/dchester/epilogue/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/dchester/epilogue/issues/81/comments","events_url":"https://api.github.com/repos/dchester/epilogue/issues/81/events","html_url":"https://github.com/dchester/epilogue/pull/81","id":96474065,"number":81,"title":"fix(search): Fulltext search against filtered results","user":{"login":"treefort","id":1132492,"avatar_url":"https://avatars.githubusercontent.com/u/1132492?v=3","gravatar_id":"","url":"https://api.github.com/users/treefort","html_url":"https://github.com/treefort","followers_url":"https://api.github.com/users/treefort/followers","following_url":"https://api.github.com/users/treefort/following{/other_user}","gists_url":"https://api.github.com/users/treefort/gists{/gist_id}","starred_url":"https://api.github.com/users/treefort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treefort/subscriptions","organizations_url":"https://api.github.com/users/treefort/orgs","repos_url":"https://api.github.com/users/treefort/repos","events_url":"https://api.github.com/users/treefort/events{/privacy}","received_events_url":"https://api.github.com/users/treefort/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-22T04:45:09Z","updated_at":"2015-07-24T16:06:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dchester/epilogue/pulls/81","html_url":"https://github.com/dchester/epilogue/pull/81","diff_url":"https://github.com/dchester/epilogue/pull/81.diff","patch_url":"https://github.com/dchester/epilogue/pull/81.patch"},"body":"I noticed that if the search parameter is used on \"list\" routes in combination with field-specific filters (think: `GET /employees?gender=male&q=steve`, it errors out with:\r\n```JSON\r\n{\r\n    \"message\": \"internal error\",\r\n    \"errors\": [\r\n        \"column Employee.args does not exist\"\r\n    ]\r\n}\r\n```\r\nIn this case, the `where` criteria isn't being built quite right in [list.js](https://github.com/dchester/epilogue/blob/master/lib/Controllers/list.js#L99). I've adjusted this and added a new test case.\r\n"},"comment":{"url":"https://api.github.com/repos/dchester/epilogue/issues/comments/124568824","html_url":"https://github.com/dchester/epilogue/pull/81#issuecomment-124568824","issue_url":"https://api.github.com/repos/dchester/epilogue/issues/81","id":124568824,"user":{"login":"treefort","id":1132492,"avatar_url":"https://avatars.githubusercontent.com/u/1132492?v=3","gravatar_id":"","url":"https://api.github.com/users/treefort","html_url":"https://github.com/treefort","followers_url":"https://api.github.com/users/treefort/followers","following_url":"https://api.github.com/users/treefort/following{/other_user}","gists_url":"https://api.github.com/users/treefort/gists{/gist_id}","starred_url":"https://api.github.com/users/treefort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treefort/subscriptions","organizations_url":"https://api.github.com/users/treefort/orgs","repos_url":"https://api.github.com/users/treefort/repos","events_url":"https://api.github.com/users/treefort/events{/privacy}","received_events_url":"https://api.github.com/users/treefort/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T16:06:50Z","updated_at":"2015-07-24T16:06:50Z","body":"@mbroadst: I've updated the PR. Take a look at my test, if you will... want to make sure it's logical. "}}