{"action":"created","issue":{"url":"https://api.github.com/repos/opencart/opencart/issues/3079","labels_url":"https://api.github.com/repos/opencart/opencart/issues/3079/labels{/name}","comments_url":"https://api.github.com/repos/opencart/opencart/issues/3079/comments","events_url":"https://api.github.com/repos/opencart/opencart/issues/3079/events","html_url":"https://github.com/opencart/opencart/pull/3079","id":85039415,"number":3079,"title":"Fixed issue #2722","user":{"login":"mrnfrancesco","id":8071136,"avatar_url":"https://avatars.githubusercontent.com/u/8071136?v=3","gravatar_id":"","url":"https://api.github.com/users/mrnfrancesco","html_url":"https://github.com/mrnfrancesco","followers_url":"https://api.github.com/users/mrnfrancesco/followers","following_url":"https://api.github.com/users/mrnfrancesco/following{/other_user}","gists_url":"https://api.github.com/users/mrnfrancesco/gists{/gist_id}","starred_url":"https://api.github.com/users/mrnfrancesco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrnfrancesco/subscriptions","organizations_url":"https://api.github.com/users/mrnfrancesco/orgs","repos_url":"https://api.github.com/users/mrnfrancesco/repos","events_url":"https://api.github.com/users/mrnfrancesco/events{/privacy}","received_events_url":"https://api.github.com/users/mrnfrancesco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-04T10:53:38Z","updated_at":"2015-06-18T07:21:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opencart/opencart/pulls/3079","html_url":"https://github.com/opencart/opencart/pull/3079","diff_url":"https://github.com/opencart/opencart/pull/3079.diff","patch_url":"https://github.com/opencart/opencart/pull/3079.patch"},"body":"When filtering orders, if argument is '0', the `empty` method returns `true` and the query returns wrong results. I changed it with the `isset` method which returns the right boolean.\r\n\r\nYou can easily reproduce the issue filtering by *order ID*: If you type 0 you will have all the orders as results."},"comment":{"url":"https://api.github.com/repos/opencart/opencart/issues/comments/113060926","html_url":"https://github.com/opencart/opencart/pull/3079#issuecomment-113060926","issue_url":"https://api.github.com/repos/opencart/opencart/issues/3079","id":113060926,"user":{"login":"danielkerr","id":5079756,"avatar_url":"https://avatars.githubusercontent.com/u/5079756?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkerr","html_url":"https://github.com/danielkerr","followers_url":"https://api.github.com/users/danielkerr/followers","following_url":"https://api.github.com/users/danielkerr/following{/other_user}","gists_url":"https://api.github.com/users/danielkerr/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkerr/subscriptions","organizations_url":"https://api.github.com/users/danielkerr/orgs","repos_url":"https://api.github.com/users/danielkerr/repos","events_url":"https://api.github.com/users/danielkerr/events{/privacy}","received_events_url":"https://api.github.com/users/danielkerr/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T07:21:42Z","updated_at":"2015-06-18T07:21:42Z","body":"yes you want an argument of 0"}}