{"action":"created","issue":{"url":"https://api.github.com/repos/jfinkels/flask-restless/issues/252","repository_url":"https://api.github.com/repos/jfinkels/flask-restless","labels_url":"https://api.github.com/repos/jfinkels/flask-restless/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/jfinkels/flask-restless/issues/252/comments","events_url":"https://api.github.com/repos/jfinkels/flask-restless/issues/252/events","html_url":"https://github.com/jfinkels/flask-restless/issues/252","id":20478352,"number":252,"title":"Relation model view (e.g., /classes/1/students) does not support querying","user":{"login":"thebne","id":5146877,"avatar_url":"https://avatars.githubusercontent.com/u/5146877?v=3","gravatar_id":"","url":"https://api.github.com/users/thebne","html_url":"https://github.com/thebne","followers_url":"https://api.github.com/users/thebne/followers","following_url":"https://api.github.com/users/thebne/following{/other_user}","gists_url":"https://api.github.com/users/thebne/gists{/gist_id}","starred_url":"https://api.github.com/users/thebne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebne/subscriptions","organizations_url":"https://api.github.com/users/thebne/orgs","repos_url":"https://api.github.com/users/thebne/repos","events_url":"https://api.github.com/users/thebne/events{/privacy}","received_events_url":"https://api.github.com/users/thebne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jfinkels/flask-restless/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-10-03T19:39:49Z","updated_at":"2016-02-12T09:45:57Z","closed_at":"2016-02-12T09:45:57Z","body":"The `?q= logic` is being exclusively used by the `/tablename/<id>` view, not even once elsewhere.\r\n`/tablename/<id>/relation` does not support any smart filtering.\r\n\r\n*I've managed to fix it by passing `relation_value.expression.left == instid` in views.py as filter argument, so it might be not-so-hard to fix.*"},"comment":{"url":"https://api.github.com/repos/jfinkels/flask-restless/issues/comments/183254867","html_url":"https://github.com/jfinkels/flask-restless/issues/252#issuecomment-183254867","issue_url":"https://api.github.com/repos/jfinkels/flask-restless/issues/252","id":183254867,"user":{"login":"jfinkels","id":121755,"avatar_url":"https://avatars.githubusercontent.com/u/121755?v=3","gravatar_id":"","url":"https://api.github.com/users/jfinkels","html_url":"https://github.com/jfinkels","followers_url":"https://api.github.com/users/jfinkels/followers","following_url":"https://api.github.com/users/jfinkels/following{/other_user}","gists_url":"https://api.github.com/users/jfinkels/gists{/gist_id}","starred_url":"https://api.github.com/users/jfinkels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfinkels/subscriptions","organizations_url":"https://api.github.com/users/jfinkels/orgs","repos_url":"https://api.github.com/users/jfinkels/repos","events_url":"https://api.github.com/users/jfinkels/events{/privacy}","received_events_url":"https://api.github.com/users/jfinkels/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T09:45:57Z","updated_at":"2016-02-12T09:45:57Z","body":"This is now implemented; see `tests/test_filtering.py:TestFiltering.test_to_many_relation` for an example."}}