{"action":"opened","number":4137,"pull_request":{"url":"https://api.github.com/repos/bolt/bolt/pulls/4137","id":45962207,"html_url":"https://github.com/bolt/bolt/pull/4137","diff_url":"https://github.com/bolt/bolt/pull/4137.diff","patch_url":"https://github.com/bolt/bolt/pull/4137.patch","issue_url":"https://api.github.com/repos/bolt/bolt/issues/4137","number":4137,"state":"open","locked":false,"title":"Enhancement - Added the ability to allow for Multi Sort Functionality in getContent","user":{"login":"Raistlfiren","id":234712,"avatar_url":"https://avatars.githubusercontent.com/u/234712?v=3","gravatar_id":"","url":"https://api.github.com/users/Raistlfiren","html_url":"https://github.com/Raistlfiren","followers_url":"https://api.github.com/users/Raistlfiren/followers","following_url":"https://api.github.com/users/Raistlfiren/following{/other_user}","gists_url":"https://api.github.com/users/Raistlfiren/gists{/gist_id}","starred_url":"https://api.github.com/users/Raistlfiren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raistlfiren/subscriptions","organizations_url":"https://api.github.com/users/Raistlfiren/orgs","repos_url":"https://api.github.com/users/Raistlfiren/repos","events_url":"https://api.github.com/users/Raistlfiren/events{/privacy}","received_events_url":"https://api.github.com/users/Raistlfiren/received_events","type":"User","site_admin":false},"body":"Modified the legacy and upcoming storage system to allow for multi sort in the setcontent query. Now queries can be used as follows to sort on multiple columns. \r\n\r\nEx.:\r\n```twig\r\n{% setcontent 'entity' orderby('-name, title') %}\r\n```\r\n","created_at":"2015-09-24T23:25:59Z","updated_at":"2015-09-24T23:25:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bolt/bolt/pulls/4137/commits","review_comments_url":"https://api.github.com/repos/bolt/bolt/pulls/4137/comments","review_comment_url":"https://api.github.com/repos/bolt/bolt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bolt/bolt/issues/4137/comments","statuses_url":"https://api.github.com/repos/bolt/bolt/statuses/be35aea5044c4a340243ff8bebad65cb7141a8b8","head":{"label":"Raistlfiren:allow-for-multi-sort","ref":"allow-for-multi-sort","sha":"be35aea5044c4a340243ff8bebad65cb7141a8b8","user":{"login":"Raistlfiren","id":234712,"avatar_url":"https://avatars.githubusercontent.com/u/234712?v=3","gravatar_id":"","url":"https://api.github.com/users/Raistlfiren","html_url":"https://github.com/Raistlfiren","followers_url":"https://api.github.com/users/Raistlfiren/followers","following_url":"https://api.github.com/users/Raistlfiren/following{/other_user}","gists_url":"https://api.github.com/users/Raistlfiren/gists{/gist_id}","starred_url":"https://api.github.com/users/Raistlfiren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raistlfiren/subscriptions","organizations_url":"https://api.github.com/users/Raistlfiren/orgs","repos_url":"https://api.github.com/users/Raistlfiren/repos","events_url":"https://api.github.com/users/Raistlfiren/events{/privacy}","received_events_url":"https://api.github.com/users/Raistlfiren/received_events","type":"User","site_admin":false},"repo":{"id":43097538,"name":"bolt","full_name":"Raistlfiren/bolt","owner":{"login":"Raistlfiren","id":234712,"avatar_url":"https://avatars.githubusercontent.com/u/234712?v=3","gravatar_id":"","url":"https://api.github.com/users/Raistlfiren","html_url":"https://github.com/Raistlfiren","followers_url":"https://api.github.com/users/Raistlfiren/followers","following_url":"https://api.github.com/users/Raistlfiren/following{/other_user}","gists_url":"https://api.github.com/users/Raistlfiren/gists{/gist_id}","starred_url":"https://api.github.com/users/Raistlfiren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raistlfiren/subscriptions","organizations_url":"https://api.github.com/users/Raistlfiren/orgs","repos_url":"https://api.github.com/users/Raistlfiren/repos","events_url":"https://api.github.com/users/Raistlfiren/events{/privacy}","received_events_url":"https://api.github.com/users/Raistlfiren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Raistlfiren/bolt","description":"Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.","fork":true,"url":"https://api.github.com/repos/Raistlfiren/bolt","forks_url":"https://api.github.com/repos/Raistlfiren/bolt/forks","keys_url":"https://api.github.com/repos/Raistlfiren/bolt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Raistlfiren/bolt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Raistlfiren/bolt/teams","hooks_url":"https://api.github.com/repos/Raistlfiren/bolt/hooks","issue_events_url":"https://api.github.com/repos/Raistlfiren/bolt/issues/events{/number}","events_url":"https://api.github.com/repos/Raistlfiren/bolt/events","assignees_url":"https://api.github.com/repos/Raistlfiren/bolt/assignees{/user}","branches_url":"https://api.github.com/repos/Raistlfiren/bolt/branches{/branch}","tags_url":"https://api.github.com/repos/Raistlfiren/bolt/tags","blobs_url":"https://api.github.com/repos/Raistlfiren/bolt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Raistlfiren/bolt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Raistlfiren/bolt/git/refs{/sha}","trees_url":"https://api.github.com/repos/Raistlfiren/bolt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Raistlfiren/bolt/statuses/{sha}","languages_url":"https://api.github.com/repos/Raistlfiren/bolt/languages","stargazers_url":"https://api.github.com/repos/Raistlfiren/bolt/stargazers","contributors_url":"https://api.github.com/repos/Raistlfiren/bolt/contributors","subscribers_url":"https://api.github.com/repos/Raistlfiren/bolt/subscribers","subscription_url":"https://api.github.com/repos/Raistlfiren/bolt/subscription","commits_url":"https://api.github.com/repos/Raistlfiren/bolt/commits{/sha}","git_commits_url":"https://api.github.com/repos/Raistlfiren/bolt/git/commits{/sha}","comments_url":"https://api.github.com/repos/Raistlfiren/bolt/comments{/number}","issue_comment_url":"https://api.github.com/repos/Raistlfiren/bolt/issues/comments{/number}","contents_url":"https://api.github.com/repos/Raistlfiren/bolt/contents/{+path}","compare_url":"https://api.github.com/repos/Raistlfiren/bolt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Raistlfiren/bolt/merges","archive_url":"https://api.github.com/repos/Raistlfiren/bolt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Raistlfiren/bolt/downloads","issues_url":"https://api.github.com/repos/Raistlfiren/bolt/issues{/number}","pulls_url":"https://api.github.com/repos/Raistlfiren/bolt/pulls{/number}","milestones_url":"https://api.github.com/repos/Raistlfiren/bolt/milestones{/number}","notifications_url":"https://api.github.com/repos/Raistlfiren/bolt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Raistlfiren/bolt/labels{/name}","releases_url":"https://api.github.com/repos/Raistlfiren/bolt/releases{/id}","created_at":"2015-09-24T22:59:02Z","updated_at":"2015-09-24T22:59:09Z","pushed_at":"2015-09-24T23:20:40Z","git_url":"git://github.com/Raistlfiren/bolt.git","ssh_url":"git@github.com:Raistlfiren/bolt.git","clone_url":"https://github.com/Raistlfiren/bolt.git","svn_url":"https://github.com/Raistlfiren/bolt","homepage":"","size":70355,"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":"bolt:master","ref":"master","sha":"16162447b76d36921f90b99e71516e1935aed83c","user":{"login":"bolt","id":3869752,"avatar_url":"https://avatars.githubusercontent.com/u/3869752?v=3","gravatar_id":"","url":"https://api.github.com/users/bolt","html_url":"https://github.com/bolt","followers_url":"https://api.github.com/users/bolt/followers","following_url":"https://api.github.com/users/bolt/following{/other_user}","gists_url":"https://api.github.com/users/bolt/gists{/gist_id}","starred_url":"https://api.github.com/users/bolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolt/subscriptions","organizations_url":"https://api.github.com/users/bolt/orgs","repos_url":"https://api.github.com/users/bolt/repos","events_url":"https://api.github.com/users/bolt/events{/privacy}","received_events_url":"https://api.github.com/users/bolt/received_events","type":"Organization","site_admin":false},"repo":{"id":4665416,"name":"bolt","full_name":"bolt/bolt","owner":{"login":"bolt","id":3869752,"avatar_url":"https://avatars.githubusercontent.com/u/3869752?v=3","gravatar_id":"","url":"https://api.github.com/users/bolt","html_url":"https://github.com/bolt","followers_url":"https://api.github.com/users/bolt/followers","following_url":"https://api.github.com/users/bolt/following{/other_user}","gists_url":"https://api.github.com/users/bolt/gists{/gist_id}","starred_url":"https://api.github.com/users/bolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolt/subscriptions","organizations_url":"https://api.github.com/users/bolt/orgs","repos_url":"https://api.github.com/users/bolt/repos","events_url":"https://api.github.com/users/bolt/events{/privacy}","received_events_url":"https://api.github.com/users/bolt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bolt/bolt","description":"Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.","fork":false,"url":"https://api.github.com/repos/bolt/bolt","forks_url":"https://api.github.com/repos/bolt/bolt/forks","keys_url":"https://api.github.com/repos/bolt/bolt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bolt/bolt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bolt/bolt/teams","hooks_url":"https://api.github.com/repos/bolt/bolt/hooks","issue_events_url":"https://api.github.com/repos/bolt/bolt/issues/events{/number}","events_url":"https://api.github.com/repos/bolt/bolt/events","assignees_url":"https://api.github.com/repos/bolt/bolt/assignees{/user}","branches_url":"https://api.github.com/repos/bolt/bolt/branches{/branch}","tags_url":"https://api.github.com/repos/bolt/bolt/tags","blobs_url":"https://api.github.com/repos/bolt/bolt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bolt/bolt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bolt/bolt/git/refs{/sha}","trees_url":"https://api.github.com/repos/bolt/bolt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bolt/bolt/statuses/{sha}","languages_url":"https://api.github.com/repos/bolt/bolt/languages","stargazers_url":"https://api.github.com/repos/bolt/bolt/stargazers","contributors_url":"https://api.github.com/repos/bolt/bolt/contributors","subscribers_url":"https://api.github.com/repos/bolt/bolt/subscribers","subscription_url":"https://api.github.com/repos/bolt/bolt/subscription","commits_url":"https://api.github.com/repos/bolt/bolt/commits{/sha}","git_commits_url":"https://api.github.com/repos/bolt/bolt/git/commits{/sha}","comments_url":"https://api.github.com/repos/bolt/bolt/comments{/number}","issue_comment_url":"https://api.github.com/repos/bolt/bolt/issues/comments{/number}","contents_url":"https://api.github.com/repos/bolt/bolt/contents/{+path}","compare_url":"https://api.github.com/repos/bolt/bolt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bolt/bolt/merges","archive_url":"https://api.github.com/repos/bolt/bolt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bolt/bolt/downloads","issues_url":"https://api.github.com/repos/bolt/bolt/issues{/number}","pulls_url":"https://api.github.com/repos/bolt/bolt/pulls{/number}","milestones_url":"https://api.github.com/repos/bolt/bolt/milestones{/number}","notifications_url":"https://api.github.com/repos/bolt/bolt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bolt/bolt/labels{/name}","releases_url":"https://api.github.com/repos/bolt/bolt/releases{/id}","created_at":"2012-06-14T16:07:54Z","updated_at":"2015-09-23T14:58:11Z","pushed_at":"2015-09-24T23:25:59Z","git_url":"git://github.com/bolt/bolt.git","ssh_url":"git@github.com:bolt/bolt.git","clone_url":"https://github.com/bolt/bolt.git","svn_url":"https://github.com/bolt/bolt","homepage":"","size":70355,"stargazers_count":2307,"watchers_count":2307,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":518,"mirror_url":null,"open_issues_count":176,"forks":518,"open_issues":176,"watchers":2307,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bolt/bolt/pulls/4137"},"html":{"href":"https://github.com/bolt/bolt/pull/4137"},"issue":{"href":"https://api.github.com/repos/bolt/bolt/issues/4137"},"comments":{"href":"https://api.github.com/repos/bolt/bolt/issues/4137/comments"},"review_comments":{"href":"https://api.github.com/repos/bolt/bolt/pulls/4137/comments"},"review_comment":{"href":"https://api.github.com/repos/bolt/bolt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bolt/bolt/pulls/4137/commits"},"statuses":{"href":"https://api.github.com/repos/bolt/bolt/statuses/be35aea5044c4a340243ff8bebad65cb7141a8b8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":93,"deletions":20,"changed_files":2}}