{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/comments/86514964","pull_request_review_id":7170257,"id":86514964,"diff_hunk":"@@ -96,4 +97,13 @@ public function suggest($prefix, $fieldPaths = array(), $limit = 10, Criterion $\n      * @return \\eZ\\Publish\\API\\Repository\\Values\\Content\\Search\\SearchResult\n      */\n     public function findLocations(LocationQuery $query, array $languageFilter = array(), $filterOnUserPermissions = true);\n+\n+    /**\n+     * Get SortClause objects built from $location's sort options.\n+     *\n+     * @param \\eZ\\Publish\\API\\Repository\\Values\\Content\\Location $location\n+     *\n+     * @return \\eZ\\Publish\\API\\Repository\\Values\\Content\\Query\\SortClause[]\n+     */\n+    public function getSortClauseFromLocation(Location $location);","path":"eZ/Publish/API/Repository/SearchService.php","position":20,"original_position":20,"commit_id":"5a760379bf6835b175c27c736924ed2496a9b70a","original_commit_id":"5a760379bf6835b175c27c736924ed2496a9b70a","user":{"login":"bdunogier","id":235928,"avatar_url":"https://avatars.githubusercontent.com/u/235928?v=3","gravatar_id":"","url":"https://api.github.com/users/bdunogier","html_url":"https://github.com/bdunogier","followers_url":"https://api.github.com/users/bdunogier/followers","following_url":"https://api.github.com/users/bdunogier/following{/other_user}","gists_url":"https://api.github.com/users/bdunogier/gists{/gist_id}","starred_url":"https://api.github.com/users/bdunogier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdunogier/subscriptions","organizations_url":"https://api.github.com/users/bdunogier/orgs","repos_url":"https://api.github.com/users/bdunogier/repos","events_url":"https://api.github.com/users/bdunogier/events{/privacy}","received_events_url":"https://api.github.com/users/bdunogier/received_events","type":"User","site_admin":false},"body":"Yep, that would be the best way, I think.","created_at":"2016-11-04T09:57:56Z","updated_at":"2016-11-04T09:57:56Z","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1809#discussion_r86514964","pull_request_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1809","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/comments/86514964"},"html":{"href":"https://github.com/ezsystems/ezpublish-kernel/pull/1809#discussion_r86514964"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1809"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1809","id":90412819,"html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1809","diff_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1809.diff","patch_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1809.patch","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1809","number":1809,"state":"open","locked":false,"title":"EZP-26528: SortClauseMapper for LocationService / UserService","user":{"login":"blankse","id":998558,"avatar_url":"https://avatars.githubusercontent.com/u/998558?v=3","gravatar_id":"","url":"https://api.github.com/users/blankse","html_url":"https://github.com/blankse","followers_url":"https://api.github.com/users/blankse/followers","following_url":"https://api.github.com/users/blankse/following{/other_user}","gists_url":"https://api.github.com/users/blankse/gists{/gist_id}","starred_url":"https://api.github.com/users/blankse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blankse/subscriptions","organizations_url":"https://api.github.com/users/blankse/orgs","repos_url":"https://api.github.com/users/blankse/repos","events_url":"https://api.github.com/users/blankse/events{/privacy}","received_events_url":"https://api.github.com/users/blankse/received_events","type":"User","site_admin":false},"body":"Implementation of the idee from https://github.com/ezsystems/ezpublish-kernel/pull/1634\r\n\r\nJIRA: https://jira.ez.no/browse/EZP-26528\r\n","created_at":"2016-10-21T16:24:06Z","updated_at":"2016-11-04T09:57:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15005807a0150f02489c1d5b044c1bb3a972f4a9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1809/commits","review_comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1809/comments","review_comment_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1809/comments","statuses_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/statuses/5a760379bf6835b175c27c736924ed2496a9b70a","head":{"label":"blankse:public_sort_clause_by_sort_field","ref":"public_sort_clause_by_sort_field","sha":"5a760379bf6835b175c27c736924ed2496a9b70a","user":{"login":"blankse","id":998558,"avatar_url":"https://avatars.githubusercontent.com/u/998558?v=3","gravatar_id":"","url":"https://api.github.com/users/blankse","html_url":"https://github.com/blankse","followers_url":"https://api.github.com/users/blankse/followers","following_url":"https://api.github.com/users/blankse/following{/other_user}","gists_url":"https://api.github.com/users/blankse/gists{/gist_id}","starred_url":"https://api.github.com/users/blankse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blankse/subscriptions","organizations_url":"https://api.github.com/users/blankse/orgs","repos_url":"https://api.github.com/users/blankse/repos","events_url":"https://api.github.com/users/blankse/events{/privacy}","received_events_url":"https://api.github.com/users/blankse/received_events","type":"User","site_admin":false},"repo":{"id":35624431,"name":"ezpublish-kernel","full_name":"blankse/ezpublish-kernel","owner":{"login":"blankse","id":998558,"avatar_url":"https://avatars.githubusercontent.com/u/998558?v=3","gravatar_id":"","url":"https://api.github.com/users/blankse","html_url":"https://github.com/blankse","followers_url":"https://api.github.com/users/blankse/followers","following_url":"https://api.github.com/users/blankse/following{/other_user}","gists_url":"https://api.github.com/users/blankse/gists{/gist_id}","starred_url":"https://api.github.com/users/blankse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blankse/subscriptions","organizations_url":"https://api.github.com/users/blankse/orgs","repos_url":"https://api.github.com/users/blankse/repos","events_url":"https://api.github.com/users/blankse/events{/privacy}","received_events_url":"https://api.github.com/users/blankse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blankse/ezpublish-kernel","description":"eZ Publish 6.x kernel","fork":true,"url":"https://api.github.com/repos/blankse/ezpublish-kernel","forks_url":"https://api.github.com/repos/blankse/ezpublish-kernel/forks","keys_url":"https://api.github.com/repos/blankse/ezpublish-kernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blankse/ezpublish-kernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blankse/ezpublish-kernel/teams","hooks_url":"https://api.github.com/repos/blankse/ezpublish-kernel/hooks","issue_events_url":"https://api.github.com/repos/blankse/ezpublish-kernel/issues/events{/number}","events_url":"https://api.github.com/repos/blankse/ezpublish-kernel/events","assignees_url":"https://api.github.com/repos/blankse/ezpublish-kernel/assignees{/user}","branches_url":"https://api.github.com/repos/blankse/ezpublish-kernel/branches{/branch}","tags_url":"https://api.github.com/repos/blankse/ezpublish-kernel/tags","blobs_url":"https://api.github.com/repos/blankse/ezpublish-kernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blankse/ezpublish-kernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blankse/ezpublish-kernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/blankse/ezpublish-kernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blankse/ezpublish-kernel/statuses/{sha}","languages_url":"https://api.github.com/repos/blankse/ezpublish-kernel/languages","stargazers_url":"https://api.github.com/repos/blankse/ezpublish-kernel/stargazers","contributors_url":"https://api.github.com/repos/blankse/ezpublish-kernel/contributors","subscribers_url":"https://api.github.com/repos/blankse/ezpublish-kernel/subscribers","subscription_url":"https://api.github.com/repos/blankse/ezpublish-kernel/subscription","commits_url":"https://api.github.com/repos/blankse/ezpublish-kernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/blankse/ezpublish-kernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/blankse/ezpublish-kernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/blankse/ezpublish-kernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/blankse/ezpublish-kernel/contents/{+path}","compare_url":"https://api.github.com/repos/blankse/ezpublish-kernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blankse/ezpublish-kernel/merges","archive_url":"https://api.github.com/repos/blankse/ezpublish-kernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blankse/ezpublish-kernel/downloads","issues_url":"https://api.github.com/repos/blankse/ezpublish-kernel/issues{/number}","pulls_url":"https://api.github.com/repos/blankse/ezpublish-kernel/pulls{/number}","milestones_url":"https://api.github.com/repos/blankse/ezpublish-kernel/milestones{/number}","notifications_url":"https://api.github.com/repos/blankse/ezpublish-kernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blankse/ezpublish-kernel/labels{/name}","releases_url":"https://api.github.com/repos/blankse/ezpublish-kernel/releases{/id}","deployments_url":"https://api.github.com/repos/blankse/ezpublish-kernel/deployments","created_at":"2015-05-14T17:07:37Z","updated_at":"2016-10-21T14:39:12Z","pushed_at":"2016-11-01T09:35:09Z","git_url":"git://github.com/blankse/ezpublish-kernel.git","ssh_url":"git@github.com:blankse/ezpublish-kernel.git","clone_url":"https://github.com/blankse/ezpublish-kernel.git","svn_url":"https://github.com/blankse/ezpublish-kernel","homepage":"http://ez.no","size":43791,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ezsystems:master","ref":"master","sha":"664532b4c9b196f94ed7252d45d2f5c500bc6ef6","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":1663890,"name":"ezpublish-kernel","full_name":"ezsystems/ezpublish-kernel","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/ezpublish-kernel","description":"Kernel (Repository, MVC layer, REST) for eZ Platform","fork":false,"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel","forks_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/forks","keys_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/teams","hooks_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/events","assignees_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/tags","blobs_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/languages","stargazers_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/subscription","commits_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/merges","archive_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/downloads","issues_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/releases{/id}","deployments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/deployments","created_at":"2011-04-26T08:54:24Z","updated_at":"2016-10-28T15:32:16Z","pushed_at":"2016-11-03T16:20:33Z","git_url":"git://github.com/ezsystems/ezpublish-kernel.git","ssh_url":"git@github.com:ezsystems/ezpublish-kernel.git","clone_url":"https://github.com/ezsystems/ezpublish-kernel.git","svn_url":"https://github.com/ezsystems/ezpublish-kernel","homepage":"http://ezplatform.com/","size":51693,"stargazers_count":116,"watchers_count":116,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":165,"mirror_url":null,"open_issues_count":70,"forks":165,"open_issues":70,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1809"},"html":{"href":"https://github.com/ezsystems/ezpublish-kernel/pull/1809"},"issue":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1809"},"comments":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1809/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1809/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1809/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/statuses/5a760379bf6835b175c27c736924ed2496a9b70a"}}}}
{"actor":{"display_login":"bdunogier"}}