{"action":"created","comment":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/comments/32297379","id":32297379,"diff_hunk":"@@ -228,13 +228,44 @@ public function findByContentTypeInLastVersion($contentType = null)\n      * @param int|null    $skip\n      * @param int|null    $limit\n      *\n+     * @deprecated, use findByContentTypeInLastVersionForPaginateAndSearchAndSiteId instead\n+     *\n      * @return array\n      */\n     public function findByContentTypeInLastVersionForPaginateAndSearch($contentType = null, $descriptionEntity = null, $columns = null, $search = null, $order = null, $skip = null, $limit = null)\n     {\n+        return $this->findByContentTypeInLastVersionForPaginateAndSearchAndSiteId(\n+            $contentType,\n+            $descriptionEntity,\n+            $columns,\n+            $search,\n+            null,\n+            $order,\n+            $skip,\n+            $limit\n+        );\n+    }\n+\n+    /**\n+     * @param string|null $contentType\n+     * @param array|null $descriptionEntity\n+     * @param array|null $columns\n+     * @param string|null $search\n+     * @param string|null $siteId\n+     * @param array|null $order\n+     * @param int|null $skip\n+     * @param int|null $limit\n+     *\n+     * @return array\n+     */\n+    public function findByContentTypeInLastVersionForPaginateAndSearchAndSiteId($contentType = null, $descriptionEntity = null, $columns = null, $search = null, $siteId = null, $order = null, $skip = null, $limit = null)\n+    {\n         $qa = $this->createAggregateQueryWithContentTypeFilter($contentType);\n         $qa = $this->generateFilterForSearch($qa, $descriptionEntity, $columns, $search);\n-        $qa->match($this->generateDeletedFilter());","path":"ModelBundle/Repository/ContentRepository.php","position":38,"original_position":38,"commit_id":"e888e106859555d7c20c15f87a4ea1e54d16d865","original_commit_id":"e888e106859555d7c20c15f87a4ea1e54d16d865","user":{"login":"nicolasThal","id":2675545,"avatar_url":"https://avatars.githubusercontent.com/u/2675545?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasThal","html_url":"https://github.com/nicolasThal","followers_url":"https://api.github.com/users/nicolasThal/followers","following_url":"https://api.github.com/users/nicolasThal/following{/other_user}","gists_url":"https://api.github.com/users/nicolasThal/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasThal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasThal/subscriptions","organizations_url":"https://api.github.com/users/nicolasThal/orgs","repos_url":"https://api.github.com/users/nicolasThal/repos","events_url":"https://api.github.com/users/nicolasThal/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasThal/received_events","type":"User","site_admin":false},"body":"oups, my bad...","created_at":"2015-06-12T08:15:18Z","updated_at":"2015-06-12T08:15:18Z","html_url":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/331#discussion_r32297379","pull_request_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/331","_links":{"self":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/comments/32297379"},"html":{"href":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/331#discussion_r32297379"},"pull_request":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/331"}}},"pull_request":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/331","id":37479324,"html_url":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/331","diff_url":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/331.diff","patch_url":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/331.patch","issue_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/331","number":331,"state":"open","locked":false,"title":"add site linkable behaviour","user":{"login":"nicolasThal","id":2675545,"avatar_url":"https://avatars.githubusercontent.com/u/2675545?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasThal","html_url":"https://github.com/nicolasThal","followers_url":"https://api.github.com/users/nicolasThal/followers","following_url":"https://api.github.com/users/nicolasThal/following{/other_user}","gists_url":"https://api.github.com/users/nicolasThal/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasThal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasThal/subscriptions","organizations_url":"https://api.github.com/users/nicolasThal/orgs","repos_url":"https://api.github.com/users/nicolasThal/repos","events_url":"https://api.github.com/users/nicolasThal/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasThal/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-11T15:57:58Z","updated_at":"2015-06-12T08:15:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"991206d68e988a4314832208cd71bbf4313453ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/331/commits","review_comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/331/comments","review_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/331/comments","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/statuses/e888e106859555d7c20c15f87a4ea1e54d16d865","head":{"label":"open-orchestra:add_site_linkable_behaviour","ref":"add_site_linkable_behaviour","sha":"e888e106859555d7c20c15f87a4ea1e54d16d865","user":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":21900269,"name":"open-orchestra-model-bundle","full_name":"open-orchestra/open-orchestra-model-bundle","owner":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-orchestra/open-orchestra-model-bundle","description":"The php orchestra model bundle","fork":false,"url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle","forks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/forks","keys_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/teams","hooks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/hooks","issue_events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/events","assignees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/tags","blobs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/languages","stargazers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/stargazers","contributors_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/contributors","subscribers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/subscribers","subscription_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/subscription","commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/merges","archive_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/downloads","issues_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/labels{/name}","releases_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/releases{/id}","created_at":"2014-07-16T12:49:58Z","updated_at":"2015-05-07T15:54:10Z","pushed_at":"2015-06-11T15:58:00Z","git_url":"git://github.com/open-orchestra/open-orchestra-model-bundle.git","ssh_url":"git@github.com:open-orchestra/open-orchestra-model-bundle.git","clone_url":"https://github.com/open-orchestra/open-orchestra-model-bundle.git","svn_url":"https://github.com/open-orchestra/open-orchestra-model-bundle","homepage":null,"size":8891,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"open-orchestra:master","ref":"master","sha":"5e7ca2dbdae974154a874c32e38b6566ac2c891c","user":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":21900269,"name":"open-orchestra-model-bundle","full_name":"open-orchestra/open-orchestra-model-bundle","owner":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-orchestra/open-orchestra-model-bundle","description":"The php orchestra model bundle","fork":false,"url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle","forks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/forks","keys_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/teams","hooks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/hooks","issue_events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/events","assignees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/tags","blobs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/languages","stargazers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/stargazers","contributors_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/contributors","subscribers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/subscribers","subscription_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/subscription","commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/merges","archive_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/downloads","issues_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/labels{/name}","releases_url":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/releases{/id}","created_at":"2014-07-16T12:49:58Z","updated_at":"2015-05-07T15:54:10Z","pushed_at":"2015-06-11T15:58:00Z","git_url":"git://github.com/open-orchestra/open-orchestra-model-bundle.git","ssh_url":"git@github.com:open-orchestra/open-orchestra-model-bundle.git","clone_url":"https://github.com/open-orchestra/open-orchestra-model-bundle.git","svn_url":"https://github.com/open-orchestra/open-orchestra-model-bundle","homepage":null,"size":8891,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/331"},"html":{"href":"https://github.com/open-orchestra/open-orchestra-model-bundle/pull/331"},"issue":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/331"},"comments":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/issues/331/comments"},"review_comments":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/331/comments"},"review_comment":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/pulls/331/commits"},"statuses":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-model-bundle/statuses/e888e106859555d7c20c15f87a4ea1e54d16d865"}}}}