{"action":"created","issue":{"url":"https://api.github.com/repos/Adldap2/Adldap2/issues/42","labels_url":"https://api.github.com/repos/Adldap2/Adldap2/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/Adldap2/Adldap2/issues/42/comments","events_url":"https://api.github.com/repos/Adldap2/Adldap2/issues/42/events","html_url":"https://github.com/Adldap2/Adldap2/issues/42","id":103665077,"number":42,"title":"Add custom query to search","user":{"login":"ciadch","id":12936546,"avatar_url":"https://avatars.githubusercontent.com/u/12936546?v=3","gravatar_id":"","url":"https://api.github.com/users/ciadch","html_url":"https://github.com/ciadch","followers_url":"https://api.github.com/users/ciadch/followers","following_url":"https://api.github.com/users/ciadch/following{/other_user}","gists_url":"https://api.github.com/users/ciadch/gists{/gist_id}","starred_url":"https://api.github.com/users/ciadch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciadch/subscriptions","organizations_url":"https://api.github.com/users/ciadch/orgs","repos_url":"https://api.github.com/users/ciadch/repos","events_url":"https://api.github.com/users/ciadch/events{/privacy}","received_events_url":"https://api.github.com/users/ciadch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Adldap2/Adldap2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-28T07:48:39Z","updated_at":"2015-08-31T06:39:27Z","closed_at":null,"body":"Hi !\r\n\r\nIt could really interesting to have the ability to add a custom query in search() object, something like that could be really usefull : \r\n\r\n```php\r\n$adldap->search()->where('cn', '!', 'Jon')->customQuery('(userAccountControl:1.2.840.113556.1.4.803:=2)')->get();\r\n```\r\n\r\nI saw that you can pass a custom query but actually we have the obligation to pass the query as string and we lose all class functionalities (like select, where, orWhere, ...)\r\n\r\nThanks for your help"},"comment":{"url":"https://api.github.com/repos/Adldap2/Adldap2/issues/comments/136280381","html_url":"https://github.com/Adldap2/Adldap2/issues/42#issuecomment-136280381","issue_url":"https://api.github.com/repos/Adldap2/Adldap2/issues/42","id":136280381,"user":{"login":"ciadch","id":12936546,"avatar_url":"https://avatars.githubusercontent.com/u/12936546?v=3","gravatar_id":"","url":"https://api.github.com/users/ciadch","html_url":"https://github.com/ciadch","followers_url":"https://api.github.com/users/ciadch/followers","following_url":"https://api.github.com/users/ciadch/following{/other_user}","gists_url":"https://api.github.com/users/ciadch/gists{/gist_id}","starred_url":"https://api.github.com/users/ciadch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciadch/subscriptions","organizations_url":"https://api.github.com/users/ciadch/orgs","repos_url":"https://api.github.com/users/ciadch/repos","events_url":"https://api.github.com/users/ciadch/events{/privacy}","received_events_url":"https://api.github.com/users/ciadch/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T06:39:27Z","updated_at":"2015-08-31T06:39:27Z","body":"@stevebauman Thanks for your job ! I keep an eye on the branch. "}}