{"action":"closed","issue":{"url":"https://api.github.com/repos/getgrav/grav/issues/972","repository_url":"https://api.github.com/repos/getgrav/grav","labels_url":"https://api.github.com/repos/getgrav/grav/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/getgrav/grav/issues/972/comments","events_url":"https://api.github.com/repos/getgrav/grav/issues/972/events","html_url":"https://github.com/getgrav/grav/issues/972","id":170408856,"number":972,"title":"Trouble with ordering collections","user":{"login":"jonathan-chin","id":7519412,"avatar_url":"https://avatars.githubusercontent.com/u/7519412?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-chin","html_url":"https://github.com/jonathan-chin","followers_url":"https://api.github.com/users/jonathan-chin/followers","following_url":"https://api.github.com/users/jonathan-chin/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-chin/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-chin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-chin/subscriptions","organizations_url":"https://api.github.com/users/jonathan-chin/orgs","repos_url":"https://api.github.com/users/jonathan-chin/repos","events_url":"https://api.github.com/users/jonathan-chin/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-chin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getgrav/grav/labels/more%20info%20needed","name":"more info needed","color":"c7def8"},{"url":"https://api.github.com/repos/getgrav/grav/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-10T12:49:44Z","updated_at":"2016-08-11T17:22:25Z","closed_at":"2016-08-11T17:22:25Z","body":"I apologize ahead of time; I am very new to Grav, but have been coding with other platforms for many years (WordPress, CakePHP).\r\n\r\nI have an index file in one of my user pages subdirectories (05.Blog). When my frontmatter is this:\r\n\r\n```\r\ncontent:\r\n    items: @self.children\r\n    limit: 10\r\n    pagination: true\r\n```\r\n\r\nI get what is expected. The posts are, however, ordered alphabetically by the title (which, for a blog, doesn't make sense). I tried to specify ordering:\r\n\r\n```\r\ncontent:\r\n    items: @self.children\r\n    limit: 10\r\n    order:\r\n        by: date\r\n        dir: desc\r\n    pagination: true\r\n```\r\n\r\nBut two things happen:\r\n1) no posts show at all\r\n2) the name of the category in my navbar goes from Blog to blog (lowercased). I don't expect adding an order to my collection to change the capitalization.\r\n\r\nI tried looking through log files and I have debugging enabled, but I can't seem to find a relevant error message."}}
{"actor":{"display_login":"jonathan-chin"}}