{"action":"created","issue":{"url":"https://api.github.com/repos/joomla-extensions/install-from-web-server/issues/9","labels_url":"https://api.github.com/repos/joomla-extensions/install-from-web-server/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/joomla-extensions/install-from-web-server/issues/9/comments","events_url":"https://api.github.com/repos/joomla-extensions/install-from-web-server/issues/9/events","html_url":"https://github.com/joomla-extensions/install-from-web-server/issues/9","id":58729366,"number":9,"title":"Category Sidebar messed up","user":{"login":"coolbung","id":429363,"avatar_url":"https://avatars.githubusercontent.com/u/429363?v=3","gravatar_id":"","url":"https://api.github.com/users/coolbung","html_url":"https://github.com/coolbung","followers_url":"https://api.github.com/users/coolbung/followers","following_url":"https://api.github.com/users/coolbung/following{/other_user}","gists_url":"https://api.github.com/users/coolbung/gists{/gist_id}","starred_url":"https://api.github.com/users/coolbung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolbung/subscriptions","organizations_url":"https://api.github.com/users/coolbung/orgs","repos_url":"https://api.github.com/users/coolbung/repos","events_url":"https://api.github.com/users/coolbung/events{/privacy}","received_events_url":"https://api.github.com/users/coolbung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-24T12:05:38Z","updated_at":"2015-02-25T11:50:53Z","closed_at":null,"body":"NOTE: I'm creating this issue so that someone who wants to wrap up this only remaining piece for the JED3 integration can easily know what is needed and get up to speed faster.\r\n\r\nThe category sidebar currently displays a flat list of categories, instead of the parent-child that was before. \r\n\r\nOn a broad level this is what needs to happen\r\n1. The home page of the Web Installer needs to show only the top level categories in the sidebar\r\n2. When the user clicks on one of the categories in the sidebar, the right section will show the extensions from that category \r\n3. In this case, only that particular category should get expanded in the sidebar and show the children from this category\r\n\r\nThe code that generates this is included in the following files - \r\n- components/com_apps/models/base.php in the getCategories() method. It is recommended to rewrite this function.\r\n- layouts/joomla/apps/category_sidebar.php\r\n- layouts/joomla/apps/category_sidebar_ul.php\r\n"},"comment":{"url":"https://api.github.com/repos/joomla-extensions/install-from-web-server/issues/comments/75947751","html_url":"https://github.com/joomla-extensions/install-from-web-server/issues/9#issuecomment-75947751","issue_url":"https://api.github.com/repos/joomla-extensions/install-from-web-server/issues/9","id":75947751,"user":{"login":"andergmartins","id":407131,"avatar_url":"https://avatars.githubusercontent.com/u/407131?v=3","gravatar_id":"","url":"https://api.github.com/users/andergmartins","html_url":"https://github.com/andergmartins","followers_url":"https://api.github.com/users/andergmartins/followers","following_url":"https://api.github.com/users/andergmartins/following{/other_user}","gists_url":"https://api.github.com/users/andergmartins/gists{/gist_id}","starred_url":"https://api.github.com/users/andergmartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andergmartins/subscriptions","organizations_url":"https://api.github.com/users/andergmartins/orgs","repos_url":"https://api.github.com/users/andergmartins/repos","events_url":"https://api.github.com/users/andergmartins/events{/privacy}","received_events_url":"https://api.github.com/users/andergmartins/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T11:50:53Z","updated_at":"2015-02-25T11:50:53Z","body":"Hey guys, I may be wrong, but the JED API seems to be returning an odd data set.\r\n\r\nCalling http://extensions.joomla.org/index.php?option=com_jed&view=category&layout=list&format=json&order=level&limit=-1 you can verify that all items have parent_id as `\"parent_id\":{\"value\":\"1\",\"text\":\"ROOT\"}` or `\"parent_id\":{\"value\":null,\"text\":null}`. That makes impossible to create a nested list.\r\n"}}