{"action":"closed","number":105,"pull_request":{"url":"https://api.github.com/repos/tombenner/wp-mvc/pulls/105","id":51765430,"html_url":"https://github.com/tombenner/wp-mvc/pull/105","diff_url":"https://github.com/tombenner/wp-mvc/pull/105.diff","patch_url":"https://github.com/tombenner/wp-mvc/pull/105.patch","issue_url":"https://api.github.com/repos/tombenner/wp-mvc/issues/105","number":105,"state":"closed","locked":false,"title":"allow using NULL in query conditions","user":{"login":"vrcAlbert","id":1251763,"avatar_url":"https://avatars.githubusercontent.com/u/1251763?v=3","gravatar_id":"","url":"https://api.github.com/users/vrcAlbert","html_url":"https://github.com/vrcAlbert","followers_url":"https://api.github.com/users/vrcAlbert/followers","following_url":"https://api.github.com/users/vrcAlbert/following{/other_user}","gists_url":"https://api.github.com/users/vrcAlbert/gists{/gist_id}","starred_url":"https://api.github.com/users/vrcAlbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrcAlbert/subscriptions","organizations_url":"https://api.github.com/users/vrcAlbert/orgs","repos_url":"https://api.github.com/users/vrcAlbert/repos","events_url":"https://api.github.com/users/vrcAlbert/events{/privacy}","received_events_url":"https://api.github.com/users/vrcAlbert/received_events","type":"User","site_admin":false},"body":"Hi ! Did not see how to perform a \"is null\" condition.\r\nI provided a way to do it, could you tell me if that's okay with you ?\r\n\r\neg :\r\n```\r\n$aParent = $oParent->find( array(\r\n        'selects' => array('Post.post_title as label', $config['model'].'.id'),\r\n        'order' => 'Post.post_title ASC',\r\n        'conditions' => array(\r\n            $config['model'].'.id_parent' => null, //will become a \"IS NULL\" condition\r\n            $config['model'].'.id != ' => $oModel->id,\r\n        ),\r\n        'joins' => array('Post')\r\n    ) );","created_at":"2015-11-25T08:40:30Z","updated_at":"2015-11-26T17:22:56Z","closed_at":"2015-11-26T17:22:56Z","merged_at":"2015-11-26T17:22:56Z","merge_commit_sha":"9458f981ac13c6aa55a4c20c0885ae3adbe8a144","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tombenner/wp-mvc/pulls/105/commits","review_comments_url":"https://api.github.com/repos/tombenner/wp-mvc/pulls/105/comments","review_comment_url":"https://api.github.com/repos/tombenner/wp-mvc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tombenner/wp-mvc/issues/105/comments","statuses_url":"https://api.github.com/repos/tombenner/wp-mvc/statuses/5368f5b1148a6f3a89ab56e18632322587efa0cb","head":{"label":"vrcAlbert:feature/null_conditions","ref":"feature/null_conditions","sha":"5368f5b1148a6f3a89ab56e18632322587efa0cb","user":{"login":"vrcAlbert","id":1251763,"avatar_url":"https://avatars.githubusercontent.com/u/1251763?v=3","gravatar_id":"","url":"https://api.github.com/users/vrcAlbert","html_url":"https://github.com/vrcAlbert","followers_url":"https://api.github.com/users/vrcAlbert/followers","following_url":"https://api.github.com/users/vrcAlbert/following{/other_user}","gists_url":"https://api.github.com/users/vrcAlbert/gists{/gist_id}","starred_url":"https://api.github.com/users/vrcAlbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrcAlbert/subscriptions","organizations_url":"https://api.github.com/users/vrcAlbert/orgs","repos_url":"https://api.github.com/users/vrcAlbert/repos","events_url":"https://api.github.com/users/vrcAlbert/events{/privacy}","received_events_url":"https://api.github.com/users/vrcAlbert/received_events","type":"User","site_admin":false},"repo":{"id":41853787,"name":"wp-mvc","full_name":"vrcAlbert/wp-mvc","owner":{"login":"vrcAlbert","id":1251763,"avatar_url":"https://avatars.githubusercontent.com/u/1251763?v=3","gravatar_id":"","url":"https://api.github.com/users/vrcAlbert","html_url":"https://github.com/vrcAlbert","followers_url":"https://api.github.com/users/vrcAlbert/followers","following_url":"https://api.github.com/users/vrcAlbert/following{/other_user}","gists_url":"https://api.github.com/users/vrcAlbert/gists{/gist_id}","starred_url":"https://api.github.com/users/vrcAlbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrcAlbert/subscriptions","organizations_url":"https://api.github.com/users/vrcAlbert/orgs","repos_url":"https://api.github.com/users/vrcAlbert/repos","events_url":"https://api.github.com/users/vrcAlbert/events{/privacy}","received_events_url":"https://api.github.com/users/vrcAlbert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vrcAlbert/wp-mvc","description":"An MVC framework for WordPress","fork":true,"url":"https://api.github.com/repos/vrcAlbert/wp-mvc","forks_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/forks","keys_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/teams","hooks_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/hooks","issue_events_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/issues/events{/number}","events_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/events","assignees_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/assignees{/user}","branches_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/branches{/branch}","tags_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/tags","blobs_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/git/refs{/sha}","trees_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/statuses/{sha}","languages_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/languages","stargazers_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/stargazers","contributors_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/contributors","subscribers_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/subscribers","subscription_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/subscription","commits_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/commits{/sha}","git_commits_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/git/commits{/sha}","comments_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/comments{/number}","issue_comment_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/issues/comments{/number}","contents_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/contents/{+path}","compare_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/merges","archive_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/downloads","issues_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/issues{/number}","pulls_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/pulls{/number}","milestones_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/milestones{/number}","notifications_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/labels{/name}","releases_url":"https://api.github.com/repos/vrcAlbert/wp-mvc/releases{/id}","created_at":"2015-09-03T10:22:00Z","updated_at":"2015-09-03T10:22:01Z","pushed_at":"2015-11-25T08:36:00Z","git_url":"git://github.com/vrcAlbert/wp-mvc.git","ssh_url":"git@github.com:vrcAlbert/wp-mvc.git","clone_url":"https://github.com/vrcAlbert/wp-mvc.git","svn_url":"https://github.com/vrcAlbert/wp-mvc","homepage":"http://wpmvc.org","size":622,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tombenner:master","ref":"master","sha":"3bae800bcad0cf2aa88f19a6e9a5f6d38af527e5","user":{"login":"tombenner","id":193898,"avatar_url":"https://avatars.githubusercontent.com/u/193898?v=3","gravatar_id":"","url":"https://api.github.com/users/tombenner","html_url":"https://github.com/tombenner","followers_url":"https://api.github.com/users/tombenner/followers","following_url":"https://api.github.com/users/tombenner/following{/other_user}","gists_url":"https://api.github.com/users/tombenner/gists{/gist_id}","starred_url":"https://api.github.com/users/tombenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombenner/subscriptions","organizations_url":"https://api.github.com/users/tombenner/orgs","repos_url":"https://api.github.com/users/tombenner/repos","events_url":"https://api.github.com/users/tombenner/events{/privacy}","received_events_url":"https://api.github.com/users/tombenner/received_events","type":"User","site_admin":false},"repo":{"id":1564825,"name":"wp-mvc","full_name":"tombenner/wp-mvc","owner":{"login":"tombenner","id":193898,"avatar_url":"https://avatars.githubusercontent.com/u/193898?v=3","gravatar_id":"","url":"https://api.github.com/users/tombenner","html_url":"https://github.com/tombenner","followers_url":"https://api.github.com/users/tombenner/followers","following_url":"https://api.github.com/users/tombenner/following{/other_user}","gists_url":"https://api.github.com/users/tombenner/gists{/gist_id}","starred_url":"https://api.github.com/users/tombenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombenner/subscriptions","organizations_url":"https://api.github.com/users/tombenner/orgs","repos_url":"https://api.github.com/users/tombenner/repos","events_url":"https://api.github.com/users/tombenner/events{/privacy}","received_events_url":"https://api.github.com/users/tombenner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tombenner/wp-mvc","description":"An MVC framework for WordPress","fork":false,"url":"https://api.github.com/repos/tombenner/wp-mvc","forks_url":"https://api.github.com/repos/tombenner/wp-mvc/forks","keys_url":"https://api.github.com/repos/tombenner/wp-mvc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tombenner/wp-mvc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tombenner/wp-mvc/teams","hooks_url":"https://api.github.com/repos/tombenner/wp-mvc/hooks","issue_events_url":"https://api.github.com/repos/tombenner/wp-mvc/issues/events{/number}","events_url":"https://api.github.com/repos/tombenner/wp-mvc/events","assignees_url":"https://api.github.com/repos/tombenner/wp-mvc/assignees{/user}","branches_url":"https://api.github.com/repos/tombenner/wp-mvc/branches{/branch}","tags_url":"https://api.github.com/repos/tombenner/wp-mvc/tags","blobs_url":"https://api.github.com/repos/tombenner/wp-mvc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tombenner/wp-mvc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tombenner/wp-mvc/git/refs{/sha}","trees_url":"https://api.github.com/repos/tombenner/wp-mvc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tombenner/wp-mvc/statuses/{sha}","languages_url":"https://api.github.com/repos/tombenner/wp-mvc/languages","stargazers_url":"https://api.github.com/repos/tombenner/wp-mvc/stargazers","contributors_url":"https://api.github.com/repos/tombenner/wp-mvc/contributors","subscribers_url":"https://api.github.com/repos/tombenner/wp-mvc/subscribers","subscription_url":"https://api.github.com/repos/tombenner/wp-mvc/subscription","commits_url":"https://api.github.com/repos/tombenner/wp-mvc/commits{/sha}","git_commits_url":"https://api.github.com/repos/tombenner/wp-mvc/git/commits{/sha}","comments_url":"https://api.github.com/repos/tombenner/wp-mvc/comments{/number}","issue_comment_url":"https://api.github.com/repos/tombenner/wp-mvc/issues/comments{/number}","contents_url":"https://api.github.com/repos/tombenner/wp-mvc/contents/{+path}","compare_url":"https://api.github.com/repos/tombenner/wp-mvc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tombenner/wp-mvc/merges","archive_url":"https://api.github.com/repos/tombenner/wp-mvc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tombenner/wp-mvc/downloads","issues_url":"https://api.github.com/repos/tombenner/wp-mvc/issues{/number}","pulls_url":"https://api.github.com/repos/tombenner/wp-mvc/pulls{/number}","milestones_url":"https://api.github.com/repos/tombenner/wp-mvc/milestones{/number}","notifications_url":"https://api.github.com/repos/tombenner/wp-mvc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tombenner/wp-mvc/labels{/name}","releases_url":"https://api.github.com/repos/tombenner/wp-mvc/releases{/id}","created_at":"2011-04-03T23:49:37Z","updated_at":"2015-11-24T06:42:49Z","pushed_at":"2015-11-26T17:22:56Z","git_url":"git://github.com/tombenner/wp-mvc.git","ssh_url":"git@github.com:tombenner/wp-mvc.git","clone_url":"https://github.com/tombenner/wp-mvc.git","svn_url":"https://github.com/tombenner/wp-mvc","homepage":"http://wpmvc.org","size":669,"stargazers_count":312,"watchers_count":312,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":112,"mirror_url":null,"open_issues_count":2,"forks":112,"open_issues":2,"watchers":312,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tombenner/wp-mvc/pulls/105"},"html":{"href":"https://github.com/tombenner/wp-mvc/pull/105"},"issue":{"href":"https://api.github.com/repos/tombenner/wp-mvc/issues/105"},"comments":{"href":"https://api.github.com/repos/tombenner/wp-mvc/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/tombenner/wp-mvc/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/tombenner/wp-mvc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tombenner/wp-mvc/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/tombenner/wp-mvc/statuses/5368f5b1148a6f3a89ab56e18632322587efa0cb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cyberscribe","id":693733,"avatar_url":"https://avatars.githubusercontent.com/u/693733?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberscribe","html_url":"https://github.com/cyberscribe","followers_url":"https://api.github.com/users/cyberscribe/followers","following_url":"https://api.github.com/users/cyberscribe/following{/other_user}","gists_url":"https://api.github.com/users/cyberscribe/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberscribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberscribe/subscriptions","organizations_url":"https://api.github.com/users/cyberscribe/orgs","repos_url":"https://api.github.com/users/cyberscribe/repos","events_url":"https://api.github.com/users/cyberscribe/events{/privacy}","received_events_url":"https://api.github.com/users/cyberscribe/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":1}}