{"action":"closed","issue":{"url":"https://api.github.com/repos/octobercms/october/issues/1309","labels_url":"https://api.github.com/repos/octobercms/october/issues/1309/labels{/name}","comments_url":"https://api.github.com/repos/octobercms/october/issues/1309/comments","events_url":"https://api.github.com/repos/octobercms/october/issues/1309/events","html_url":"https://github.com/octobercms/october/issues/1309","id":97252274,"number":1309,"title":"Incorrect ItemCode in SideNav counter","user":{"login":"gabsource","id":1851314,"avatar_url":"https://avatars.githubusercontent.com/u/1851314?v=3","gravatar_id":"","url":"https://api.github.com/users/gabsource","html_url":"https://github.com/gabsource","followers_url":"https://api.github.com/users/gabsource/followers","following_url":"https://api.github.com/users/gabsource/following{/other_user}","gists_url":"https://api.github.com/users/gabsource/gists{/gist_id}","starred_url":"https://api.github.com/users/gabsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabsource/subscriptions","organizations_url":"https://api.github.com/users/gabsource/orgs","repos_url":"https://api.github.com/users/gabsource/repos","events_url":"https://api.github.com/users/gabsource/events{/privacy}","received_events_url":"https://api.github.com/users/gabsource/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-25T20:16:22Z","updated_at":"2015-07-28T07:47:05Z","closed_at":"2015-07-28T07:47:05Z","body":"In the sidenav template, the code reference a `$sideItemCode` which is a 0-indexed value while the javascript code for the counter update expect the text code (like *page* or *content*).\r\n\r\nThe `$sideItemCode` should be replaced by `$item->code`.\r\n\r\nhttps://github.com/octobercms/october/blob/master/modules/backend/layouts/_sidenav.htm#L24\r\n"}}