{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/7081","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/7081/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/7081/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/7081/events","html_url":"https://github.com/edx/edx-platform/pull/7081","id":58690338,"number":7081,"title":"Fix issues with non-unique discussion targets","user":{"login":"mtyaka","id":32585,"avatar_url":"https://avatars.githubusercontent.com/u/32585?v=3","gravatar_id":"","url":"https://api.github.com/users/mtyaka","html_url":"https://github.com/mtyaka","followers_url":"https://api.github.com/users/mtyaka/followers","following_url":"https://api.github.com/users/mtyaka/following{/other_user}","gists_url":"https://api.github.com/users/mtyaka/gists{/gist_id}","starred_url":"https://api.github.com/users/mtyaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtyaka/subscriptions","organizations_url":"https://api.github.com/users/mtyaka/orgs","repos_url":"https://api.github.com/users/mtyaka/repos","events_url":"https://api.github.com/users/mtyaka/events{/privacy}","received_events_url":"https://api.github.com/users/mtyaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-24T03:55:42Z","updated_at":"2015-02-24T07:33:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/7081","html_url":"https://github.com/edx/edx-platform/pull/7081","diff_url":"https://github.com/edx/edx-platform/pull/7081.diff","patch_url":"https://github.com/edx/edx-platform/pull/7081.patch"},"body":"**Background**: When two or more instances of Discussion XBlock were configured with the same discussion target (Category/Subcategory), only one of the blocks would be shown on the Course Discussion page.\r\nThis patch adds incrementing numbers to the title of each duplicate subcategory when rendering the Course Discussion to make sure that all of the threads are visible in Course Discussion (see screenshot).\r\n**Jira ticket**: https://openedx.atlassian.net/browse/SOL-372\r\n**Affected components**: LMS\r\n**Test instructions**: Add two inline discussion components to a course and configure them both with the same 'Category' and 'Subcategory'. In the Course Discussion page, only threads from one of the inline discussion instance will be shown if you click the subcategory in the discussion navigation under 'All Categories'.\r\n**Internal code review PR**: https://github.com/edx-solutions/edx-platform/pull/385\r\n**Partner information**: 3rd party-hosted open edX instance, for an edX solutions client.\r\n\r\n![screen shot 2015-02-09 at 12 23 57](https://cloud.githubusercontent.com/assets/32585/6198543/43faa318-b443-11e4-8683-008399b82e0c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/75711489","html_url":"https://github.com/edx/edx-platform/pull/7081#issuecomment-75711489","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/7081","id":75711489,"user":{"login":"antoviaque","id":514483,"avatar_url":"https://avatars.githubusercontent.com/u/514483?v=3","gravatar_id":"","url":"https://api.github.com/users/antoviaque","html_url":"https://github.com/antoviaque","followers_url":"https://api.github.com/users/antoviaque/followers","following_url":"https://api.github.com/users/antoviaque/following{/other_user}","gists_url":"https://api.github.com/users/antoviaque/gists{/gist_id}","starred_url":"https://api.github.com/users/antoviaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoviaque/subscriptions","organizations_url":"https://api.github.com/users/antoviaque/orgs","repos_url":"https://api.github.com/users/antoviaque/repos","events_url":"https://api.github.com/users/antoviaque/events{/privacy}","received_events_url":"https://api.github.com/users/antoviaque/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T07:33:33Z","updated_at":"2015-02-24T07:33:33Z","body":"FYI the first round of review on this was done by Braden and Jonathan on the edx-solutions fork (https://github.com/edx-solutions/edx-platform/pull/385)"}}