{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/7914","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/7914/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/7914/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/7914/events","html_url":"https://github.com/edx/edx-platform/pull/7914","id":73112741,"number":7914,"title":"Exclude filtering for micorosite orgs","user":{"login":"martynjames","id":675165,"avatar_url":"https://avatars.githubusercontent.com/u/675165?v=3","gravatar_id":"","url":"https://api.github.com/users/martynjames","html_url":"https://github.com/martynjames","followers_url":"https://api.github.com/users/martynjames/followers","following_url":"https://api.github.com/users/martynjames/following{/other_user}","gists_url":"https://api.github.com/users/martynjames/gists{/gist_id}","starred_url":"https://api.github.com/users/martynjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martynjames/subscriptions","organizations_url":"https://api.github.com/users/martynjames/orgs","repos_url":"https://api.github.com/users/martynjames/repos","events_url":"https://api.github.com/users/martynjames/events{/privacy}","received_events_url":"https://api.github.com/users/martynjames/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-04T19:55:28Z","updated_at":"2015-05-06T16:07:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/7914","html_url":"https://github.com/edx/edx-platform/pull/7914","diff_url":"https://github.com/edx/edx-platform/pull/7914.diff","patch_url":"https://github.com/edx/edx-platform/pull/7914.patch"},"body":"Addresses SOL-825 and SOL-826 (Along with corresponding changes to edx-search - https://github.com/edx/edx-search/pull/15).\r\n\r\nThese changes add the org attribute to all documents in the courseware_content index, and provides filtering upon the content so as to:\r\ni) Exclude \"white label\" content from showing up in dashboard search results for users who are enrolled in both core and white-label sites, when viewing core site\r\nii) Include only \"white label\" content in dashboard search results for users who are enrolled in both core and white-label sites, when viewing white-label site\r\n(SOL-825)\r\n\r\nAlso, the same filtering changes enable documents within the course_info index to be similarly treated, so that course discovery searches will:\r\ni) Exclude \"white label\" courses from showing up in discovery results when viewing core site\r\nii) Include only \"white label\" courses in discovery results when viewing white-label site\r\n(SOL-826)"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/99524724","html_url":"https://github.com/edx/edx-platform/pull/7914#issuecomment-99524724","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/7914","id":99524724,"user":{"login":"martynjames","id":675165,"avatar_url":"https://avatars.githubusercontent.com/u/675165?v=3","gravatar_id":"","url":"https://api.github.com/users/martynjames","html_url":"https://github.com/martynjames","followers_url":"https://api.github.com/users/martynjames/followers","following_url":"https://api.github.com/users/martynjames/following{/other_user}","gists_url":"https://api.github.com/users/martynjames/gists{/gist_id}","starred_url":"https://api.github.com/users/martynjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martynjames/subscriptions","organizations_url":"https://api.github.com/users/martynjames/orgs","repos_url":"https://api.github.com/users/martynjames/repos","events_url":"https://api.github.com/users/martynjames/events{/privacy}","received_events_url":"https://api.github.com/users/martynjames/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T16:07:26Z","updated_at":"2015-05-06T16:07:26Z","body":"@chrisndodge - Please provide a second review. (Last pass of tests had a known-flaky fail, so I am hopeful that the re-run will pass)\r\n"}}