{"action":"created","issue":{"url":"https://api.github.com/repos/sleeping-owl/admin/issues/273","labels_url":"https://api.github.com/repos/sleeping-owl/admin/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/sleeping-owl/admin/issues/273/comments","events_url":"https://api.github.com/repos/sleeping-owl/admin/issues/273/events","html_url":"https://github.com/sleeping-owl/admin/issues/273","id":112759542,"number":273,"title":"Conditions in tree view","user":{"login":"diffmike","id":700116,"avatar_url":"https://avatars.githubusercontent.com/u/700116?v=3","gravatar_id":"","url":"https://api.github.com/users/diffmike","html_url":"https://github.com/diffmike","followers_url":"https://api.github.com/users/diffmike/followers","following_url":"https://api.github.com/users/diffmike/following{/other_user}","gists_url":"https://api.github.com/users/diffmike/gists{/gist_id}","starred_url":"https://api.github.com/users/diffmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffmike/subscriptions","organizations_url":"https://api.github.com/users/diffmike/orgs","repos_url":"https://api.github.com/users/diffmike/repos","events_url":"https://api.github.com/users/diffmike/events{/privacy}","received_events_url":"https://api.github.com/users/diffmike/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T08:56:32Z","updated_at":"2015-10-25T00:01:11Z","closed_at":null,"body":"Can I change query for tree view?\r\nLike in table view:\r\n```\r\n$display->apply(function ($query)\r\n{\r\n    $query->where('my_field', 2);\r\n    $query->orderBy('date', 'desc');\r\n});\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/sleeping-owl/admin/issues/comments/150873039","html_url":"https://github.com/sleeping-owl/admin/issues/273#issuecomment-150873039","issue_url":"https://api.github.com/repos/sleeping-owl/admin/issues/273","id":150873039,"user":{"login":"noxify","id":521777,"avatar_url":"https://avatars.githubusercontent.com/u/521777?v=3","gravatar_id":"","url":"https://api.github.com/users/noxify","html_url":"https://github.com/noxify","followers_url":"https://api.github.com/users/noxify/followers","following_url":"https://api.github.com/users/noxify/following{/other_user}","gists_url":"https://api.github.com/users/noxify/gists{/gist_id}","starred_url":"https://api.github.com/users/noxify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noxify/subscriptions","organizations_url":"https://api.github.com/users/noxify/orgs","repos_url":"https://api.github.com/users/noxify/repos","events_url":"https://api.github.com/users/noxify/events{/privacy}","received_events_url":"https://api.github.com/users/noxify/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T00:01:11Z","updated_at":"2015-10-25T00:01:11Z","body":"Hi,\r\n\r\nyou can use the code from our forked version :)\r\n\r\nhttps://github.com/Pseudoagentur/soa-sentinel/blob/develop/src/SleepingOwl/Admin/Display/DisplayTree.php\r\n\r\nWe have implemented the `apply()` and `scope()` functionality."}}