{"action":"created","issue":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/2856","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/2856/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/2856/comments","events_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/2856/events","html_url":"https://github.com/NodeBB/NodeBB/issues/2856","id":60940778,"number":2856,"title":"Template variable error when cold loading directly from /category route","user":{"login":"cnvo","id":113159,"avatar_url":"https://avatars.githubusercontent.com/u/113159?v=3","gravatar_id":"","url":"https://api.github.com/users/cnvo","html_url":"https://github.com/cnvo","followers_url":"https://api.github.com/users/cnvo/followers","following_url":"https://api.github.com/users/cnvo/following{/other_user}","gists_url":"https://api.github.com/users/cnvo/gists{/gist_id}","starred_url":"https://api.github.com/users/cnvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnvo/subscriptions","organizations_url":"https://api.github.com/users/cnvo/orgs","repos_url":"https://api.github.com/users/cnvo/repos","events_url":"https://api.github.com/users/cnvo/events{/privacy}","received_events_url":"https://api.github.com/users/cnvo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T23:56:41Z","updated_at":"2015-03-12T23:58:31Z","closed_at":null,"body":"When cold loaded in any category, which is the error:\r\n\r\n![screen shot 2015-03-12 at 7 51 49 pm](https://cloud.githubusercontent.com/assets/113159/6630639/a19fe326-c8f1-11e4-9af7-d1952711163f.png)\r\n\r\n\r\nWhen browsing from then back to (ajaxified) that category, it works:\r\n\r\n![screen shot 2015-03-12 at 7 52 56 pm](https://cloud.githubusercontent.com/assets/113159/6630645/a91da016-c8f1-11e4-8291-35ec6c40e0f1.png)\r\n\r\n\r\nThe variable would be: ``{name}`` in the ``category.tpl`` template."},"comment":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/comments/78703283","html_url":"https://github.com/NodeBB/NodeBB/issues/2856#issuecomment-78703283","issue_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/2856","id":78703283,"user":{"login":"cnvo","id":113159,"avatar_url":"https://avatars.githubusercontent.com/u/113159?v=3","gravatar_id":"","url":"https://api.github.com/users/cnvo","html_url":"https://github.com/cnvo","followers_url":"https://api.github.com/users/cnvo/followers","following_url":"https://api.github.com/users/cnvo/following{/other_user}","gists_url":"https://api.github.com/users/cnvo/gists{/gist_id}","starred_url":"https://api.github.com/users/cnvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnvo/subscriptions","organizations_url":"https://api.github.com/users/cnvo/orgs","repos_url":"https://api.github.com/users/cnvo/repos","events_url":"https://api.github.com/users/cnvo/events{/privacy}","received_events_url":"https://api.github.com/users/cnvo/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T23:58:31Z","updated_at":"2015-03-12T23:58:31Z","body":"Actually here:\r\n\r\n```\r\n<input type=\"hidden\" template-variable=\"category_id\" value=\"{cid}\" />\r\n<input type=\"hidden\" template-variable=\"category_name\" value=\"{name}\" />\r\n<input type=\"hidden\" template-variable=\"category_slug\" value=\"{slug}\" />\r\n<input type=\"hidden\" template-variable=\"topic_count\" value=\"{topic_count}\" />\r\n<input type=\"hidden\" template-variable=\"currentPage\" value=\"{currentPage}\" />\r\n<input type=\"hidden\" template-variable=\"pageCount\" value=\"{pageCount}\" />\r\n```"}}