{"action":"created","issue":{"url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/500","repository_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline","labels_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/500/comments","events_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/500/events","html_url":"https://github.com/TheScienceMuseum/collectionsonline/issues/500","id":184195953,"number":500,"title":"Nest Galleries and Museum Facets","user":{"login":"Danwhy","id":8939909,"avatar_url":"https://avatars.githubusercontent.com/u/8939909?v=3","gravatar_id":"","url":"https://api.github.com/users/Danwhy","html_url":"https://github.com/Danwhy","followers_url":"https://api.github.com/users/Danwhy/followers","following_url":"https://api.github.com/users/Danwhy/following{/other_user}","gists_url":"https://api.github.com/users/Danwhy/gists{/gist_id}","starred_url":"https://api.github.com/users/Danwhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danwhy/subscriptions","organizations_url":"https://api.github.com/users/Danwhy/orgs","repos_url":"https://api.github.com/users/Danwhy/repos","events_url":"https://api.github.com/users/Danwhy/events{/privacy}","received_events_url":"https://api.github.com/users/Danwhy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/labels/T4h","name":"T4h","color":"F06292"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T10:48:45Z","updated_at":"2016-10-21T12:39:00Z","closed_at":null,"body":"If possible, we should nest the museum and gallery facets, so galleries are shown under their respective museums. I'm not sure if there's an easy way to get both the museum and gallery names using aggregations with the way the data is currently structured: \r\n<img width=\"393\" alt=\"screen shot 2016-10-20 at 11 45 29\" src=\"https://cloud.githubusercontent.com/assets/8939909/19556796/be61ef0c-96ba-11e6-82e8-8030a67193cb.png\">\r\n\r\nBut I could manually add the galleries to their museums in a json file and use this to sort them when displaying the facets.\r\n\r\nref:  \r\n<img width=\"714\" alt=\"screen shot 2016-10-21 at 10 23 25\" src=\"https://cloud.githubusercontent.com/assets/8939909/19593600/517897aa-9779-11e6-9e9f-0cf7ab7b0d1e.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/comments/255368185","html_url":"https://github.com/TheScienceMuseum/collectionsonline/issues/500#issuecomment-255368185","issue_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/500","id":255368185,"user":{"login":"Danwhy","id":8939909,"avatar_url":"https://avatars.githubusercontent.com/u/8939909?v=3","gravatar_id":"","url":"https://api.github.com/users/Danwhy","html_url":"https://github.com/Danwhy","followers_url":"https://api.github.com/users/Danwhy/followers","following_url":"https://api.github.com/users/Danwhy/following{/other_user}","gists_url":"https://api.github.com/users/Danwhy/gists{/gist_id}","starred_url":"https://api.github.com/users/Danwhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danwhy/subscriptions","organizations_url":"https://api.github.com/users/Danwhy/orgs","repos_url":"https://api.github.com/users/Danwhy/repos","events_url":"https://api.github.com/users/Danwhy/events{/privacy}","received_events_url":"https://api.github.com/users/Danwhy/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T12:39:00Z","updated_at":"2016-10-21T12:39:00Z","body":"@jamieu Is this similar to what you had in mind?  \r\n<img width=\"299\" alt=\"screen shot 2016-10-21 at 13 34 37\" src=\"https://cloud.githubusercontent.com/assets/8939909/19598549/4eabd4fa-9793-11e6-8a34-049123e0ad71.png\">\r\n"}}
{"actor":{"display_login":"Danwhy"}}