{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/iksi/panel/pulls/1","id":28819108,"html_url":"https://github.com/iksi/panel/pull/1","diff_url":"https://github.com/iksi/panel/pull/1.diff","patch_url":"https://github.com/iksi/panel/pull/1.patch","issue_url":"https://api.github.com/repos/iksi/panel/issues/1","number":1,"state":"open","locked":false,"title":"Added support for sorting on multiple fields","user":{"login":"iksi","id":1090876,"avatar_url":"https://avatars.githubusercontent.com/u/1090876?v=3","gravatar_id":"","url":"https://api.github.com/users/iksi","html_url":"https://github.com/iksi","followers_url":"https://api.github.com/users/iksi/followers","following_url":"https://api.github.com/users/iksi/following{/other_user}","gists_url":"https://api.github.com/users/iksi/gists{/gist_id}","starred_url":"https://api.github.com/users/iksi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iksi/subscriptions","organizations_url":"https://api.github.com/users/iksi/orgs","repos_url":"https://api.github.com/users/iksi/repos","events_url":"https://api.github.com/users/iksi/events{/privacy}","received_events_url":"https://api.github.com/users/iksi/received_events","type":"User","site_admin":false},"body":"Enable sorting on multiple fields so you could use `sort: date desc time desc` in a blueprint. This is already possible on the frontend of Kirby by using:\r\n\r\n```PHP\r\n$page->children()->visible()->sortBy('date', 'desc', 'time', 'desc');\r\n```","created_at":"2015-02-06T16:00:48Z","updated_at":"2015-02-06T16:00:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iksi/panel/pulls/1/commits","review_comments_url":"https://api.github.com/repos/iksi/panel/pulls/1/comments","review_comment_url":"https://api.github.com/repos/iksi/panel/pulls/comments/{number}","comments_url":"https://api.github.com/repos/iksi/panel/issues/1/comments","statuses_url":"https://api.github.com/repos/iksi/panel/statuses/9344d8aced31a1aef6c5bce210b0250c6f15e91a","head":{"label":"iksi:iksi-patch-multisort","ref":"iksi-patch-multisort","sha":"9344d8aced31a1aef6c5bce210b0250c6f15e91a","user":{"login":"iksi","id":1090876,"avatar_url":"https://avatars.githubusercontent.com/u/1090876?v=3","gravatar_id":"","url":"https://api.github.com/users/iksi","html_url":"https://github.com/iksi","followers_url":"https://api.github.com/users/iksi/followers","following_url":"https://api.github.com/users/iksi/following{/other_user}","gists_url":"https://api.github.com/users/iksi/gists{/gist_id}","starred_url":"https://api.github.com/users/iksi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iksi/subscriptions","organizations_url":"https://api.github.com/users/iksi/orgs","repos_url":"https://api.github.com/users/iksi/repos","events_url":"https://api.github.com/users/iksi/events{/privacy}","received_events_url":"https://api.github.com/users/iksi/received_events","type":"User","site_admin":false},"repo":{"id":30419414,"name":"panel","full_name":"iksi/panel","owner":{"login":"iksi","id":1090876,"avatar_url":"https://avatars.githubusercontent.com/u/1090876?v=3","gravatar_id":"","url":"https://api.github.com/users/iksi","html_url":"https://github.com/iksi","followers_url":"https://api.github.com/users/iksi/followers","following_url":"https://api.github.com/users/iksi/following{/other_user}","gists_url":"https://api.github.com/users/iksi/gists{/gist_id}","starred_url":"https://api.github.com/users/iksi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iksi/subscriptions","organizations_url":"https://api.github.com/users/iksi/orgs","repos_url":"https://api.github.com/users/iksi/repos","events_url":"https://api.github.com/users/iksi/events{/privacy}","received_events_url":"https://api.github.com/users/iksi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iksi/panel","description":"Kirby's web interface","fork":true,"url":"https://api.github.com/repos/iksi/panel","forks_url":"https://api.github.com/repos/iksi/panel/forks","keys_url":"https://api.github.com/repos/iksi/panel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iksi/panel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iksi/panel/teams","hooks_url":"https://api.github.com/repos/iksi/panel/hooks","issue_events_url":"https://api.github.com/repos/iksi/panel/issues/events{/number}","events_url":"https://api.github.com/repos/iksi/panel/events","assignees_url":"https://api.github.com/repos/iksi/panel/assignees{/user}","branches_url":"https://api.github.com/repos/iksi/panel/branches{/branch}","tags_url":"https://api.github.com/repos/iksi/panel/tags","blobs_url":"https://api.github.com/repos/iksi/panel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iksi/panel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iksi/panel/git/refs{/sha}","trees_url":"https://api.github.com/repos/iksi/panel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iksi/panel/statuses/{sha}","languages_url":"https://api.github.com/repos/iksi/panel/languages","stargazers_url":"https://api.github.com/repos/iksi/panel/stargazers","contributors_url":"https://api.github.com/repos/iksi/panel/contributors","subscribers_url":"https://api.github.com/repos/iksi/panel/subscribers","subscription_url":"https://api.github.com/repos/iksi/panel/subscription","commits_url":"https://api.github.com/repos/iksi/panel/commits{/sha}","git_commits_url":"https://api.github.com/repos/iksi/panel/git/commits{/sha}","comments_url":"https://api.github.com/repos/iksi/panel/comments{/number}","issue_comment_url":"https://api.github.com/repos/iksi/panel/issues/comments/{number}","contents_url":"https://api.github.com/repos/iksi/panel/contents/{+path}","compare_url":"https://api.github.com/repos/iksi/panel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iksi/panel/merges","archive_url":"https://api.github.com/repos/iksi/panel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iksi/panel/downloads","issues_url":"https://api.github.com/repos/iksi/panel/issues{/number}","pulls_url":"https://api.github.com/repos/iksi/panel/pulls{/number}","milestones_url":"https://api.github.com/repos/iksi/panel/milestones{/number}","notifications_url":"https://api.github.com/repos/iksi/panel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iksi/panel/labels{/name}","releases_url":"https://api.github.com/repos/iksi/panel/releases{/id}","created_at":"2015-02-06T15:44:24Z","updated_at":"2015-02-06T15:44:25Z","pushed_at":"2015-02-06T16:00:42Z","git_url":"git://github.com/iksi/panel.git","ssh_url":"git@github.com:iksi/panel.git","clone_url":"https://github.com/iksi/panel.git","svn_url":"https://github.com/iksi/panel","homepage":"http://getkirby.com","size":3066,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"iksi:master","ref":"master","sha":"c170db649a1904465d69a148ca1df7cf5e1f9615","user":{"login":"iksi","id":1090876,"avatar_url":"https://avatars.githubusercontent.com/u/1090876?v=3","gravatar_id":"","url":"https://api.github.com/users/iksi","html_url":"https://github.com/iksi","followers_url":"https://api.github.com/users/iksi/followers","following_url":"https://api.github.com/users/iksi/following{/other_user}","gists_url":"https://api.github.com/users/iksi/gists{/gist_id}","starred_url":"https://api.github.com/users/iksi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iksi/subscriptions","organizations_url":"https://api.github.com/users/iksi/orgs","repos_url":"https://api.github.com/users/iksi/repos","events_url":"https://api.github.com/users/iksi/events{/privacy}","received_events_url":"https://api.github.com/users/iksi/received_events","type":"User","site_admin":false},"repo":{"id":30419414,"name":"panel","full_name":"iksi/panel","owner":{"login":"iksi","id":1090876,"avatar_url":"https://avatars.githubusercontent.com/u/1090876?v=3","gravatar_id":"","url":"https://api.github.com/users/iksi","html_url":"https://github.com/iksi","followers_url":"https://api.github.com/users/iksi/followers","following_url":"https://api.github.com/users/iksi/following{/other_user}","gists_url":"https://api.github.com/users/iksi/gists{/gist_id}","starred_url":"https://api.github.com/users/iksi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iksi/subscriptions","organizations_url":"https://api.github.com/users/iksi/orgs","repos_url":"https://api.github.com/users/iksi/repos","events_url":"https://api.github.com/users/iksi/events{/privacy}","received_events_url":"https://api.github.com/users/iksi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iksi/panel","description":"Kirby's web interface","fork":true,"url":"https://api.github.com/repos/iksi/panel","forks_url":"https://api.github.com/repos/iksi/panel/forks","keys_url":"https://api.github.com/repos/iksi/panel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iksi/panel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iksi/panel/teams","hooks_url":"https://api.github.com/repos/iksi/panel/hooks","issue_events_url":"https://api.github.com/repos/iksi/panel/issues/events{/number}","events_url":"https://api.github.com/repos/iksi/panel/events","assignees_url":"https://api.github.com/repos/iksi/panel/assignees{/user}","branches_url":"https://api.github.com/repos/iksi/panel/branches{/branch}","tags_url":"https://api.github.com/repos/iksi/panel/tags","blobs_url":"https://api.github.com/repos/iksi/panel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iksi/panel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iksi/panel/git/refs{/sha}","trees_url":"https://api.github.com/repos/iksi/panel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iksi/panel/statuses/{sha}","languages_url":"https://api.github.com/repos/iksi/panel/languages","stargazers_url":"https://api.github.com/repos/iksi/panel/stargazers","contributors_url":"https://api.github.com/repos/iksi/panel/contributors","subscribers_url":"https://api.github.com/repos/iksi/panel/subscribers","subscription_url":"https://api.github.com/repos/iksi/panel/subscription","commits_url":"https://api.github.com/repos/iksi/panel/commits{/sha}","git_commits_url":"https://api.github.com/repos/iksi/panel/git/commits{/sha}","comments_url":"https://api.github.com/repos/iksi/panel/comments{/number}","issue_comment_url":"https://api.github.com/repos/iksi/panel/issues/comments/{number}","contents_url":"https://api.github.com/repos/iksi/panel/contents/{+path}","compare_url":"https://api.github.com/repos/iksi/panel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iksi/panel/merges","archive_url":"https://api.github.com/repos/iksi/panel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iksi/panel/downloads","issues_url":"https://api.github.com/repos/iksi/panel/issues{/number}","pulls_url":"https://api.github.com/repos/iksi/panel/pulls{/number}","milestones_url":"https://api.github.com/repos/iksi/panel/milestones{/number}","notifications_url":"https://api.github.com/repos/iksi/panel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iksi/panel/labels{/name}","releases_url":"https://api.github.com/repos/iksi/panel/releases{/id}","created_at":"2015-02-06T15:44:24Z","updated_at":"2015-02-06T15:44:25Z","pushed_at":"2015-02-06T16:00:42Z","git_url":"git://github.com/iksi/panel.git","ssh_url":"git@github.com:iksi/panel.git","clone_url":"https://github.com/iksi/panel.git","svn_url":"https://github.com/iksi/panel","homepage":"http://getkirby.com","size":3066,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iksi/panel/pulls/1"},"html":{"href":"https://github.com/iksi/panel/pull/1"},"issue":{"href":"https://api.github.com/repos/iksi/panel/issues/1"},"comments":{"href":"https://api.github.com/repos/iksi/panel/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/iksi/panel/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/iksi/panel/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/iksi/panel/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/iksi/panel/statuses/9344d8aced31a1aef6c5bce210b0250c6f15e91a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":5,"changed_files":1}}