{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/7448","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/7448/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/7448/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/7448/events","html_url":"https://github.com/edx/edx-platform/pull/7448","id":63746665,"number":7448,"title":"Capa problem type filtering via search index (SOL-286)","user":{"login":"e-kolpakov","id":3330048,"avatar_url":"https://avatars.githubusercontent.com/u/3330048?v=3","gravatar_id":"","url":"https://api.github.com/users/e-kolpakov","html_url":"https://github.com/e-kolpakov","followers_url":"https://api.github.com/users/e-kolpakov/followers","following_url":"https://api.github.com/users/e-kolpakov/following{/other_user}","gists_url":"https://api.github.com/users/e-kolpakov/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kolpakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kolpakov/subscriptions","organizations_url":"https://api.github.com/users/e-kolpakov/orgs","repos_url":"https://api.github.com/users/e-kolpakov/repos","events_url":"https://api.github.com/users/e-kolpakov/events{/privacy}","received_events_url":"https://api.github.com/users/e-kolpakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-03-23T15:09:23Z","updated_at":"2015-03-31T16:00:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/7448","html_url":"https://github.com/edx/edx-platform/pull/7448","diff_url":"https://github.com/edx/edx-platform/pull/7448.diff","patch_url":"https://github.com/edx/edx-platform/pull/7448.patch"},"body":"**Background:** This PR is a reimplementation of https://github.com/edx/edx-platform/pull/6346 and contains the following:\r\n* Capa problems search index support\r\n* Machinery to create dedicated index for library contents\r\n* Library capa problem type filtering reimplemented using search\r\n\r\n**Jira tickets:** SOL-286, OC-557\r\n**Discussions:** [discussion on related PR](https://github.com/edx/edx-platform/pull/6506#issuecomment-82912066), personal email to @martynjames \r\n**Dependencies:** [Search in multivalue fields](https://github.com/edx/edx-search/pull/6)\r\n**Sandbox URL:** [LMS](http://content-libraries.sandbox.opencraft.com), [Studio](http://content-libraries.sandbox.opencraft.com:18010/)\r\n**Partner information:** 3rd party-hosted open edX instance, for an edX solutions client.\r\n\r\n**Testing instructions:** no user facing changes should appear. Test instructions similar to https://github.com/edx/edx-platform/pull/6346:\r\n\r\n1. Create a library with a couple of Problem XBlocks of different types (e.g. \"Checkboxes\", \"Dropdown\", \"Multiple Choice\")\r\n2. Add Library Content XBlock to a course.\r\n3. Edit Library Content settings. By default \"Problem Type\" should be set to \"Any Type\", LMS view should display problems of any type.\r\n4. Set \"Problem Type\" to one of the problem types in the library (e.g. \"Checkboxes\", \"Dropdown\" or \"Multiple Choice\"\"). Please note that some problem type templates fall into same problem type (e.g. \"Custom Javascript/Python\" and \"Drag and Drop\" fall into \"Custom Evaluated Script\"). Save, publish, navigate to LMS as a student and ensure only Problems of selected type are shown.\r\n5. Set \"Problem Type\" to any problem type **not** in the library (e.g. any except \"Checkboxes\", \"Dropdown\" or \"Multiple Choice\"\"). Save, publish, note the warning message in Studio, navigate to LMS as a student and ensure no XBlocks are shown."},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/88142749","html_url":"https://github.com/edx/edx-platform/pull/7448#issuecomment-88142749","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/7448","id":88142749,"user":{"login":"e-kolpakov","id":3330048,"avatar_url":"https://avatars.githubusercontent.com/u/3330048?v=3","gravatar_id":"","url":"https://api.github.com/users/e-kolpakov","html_url":"https://github.com/e-kolpakov","followers_url":"https://api.github.com/users/e-kolpakov/followers","following_url":"https://api.github.com/users/e-kolpakov/following{/other_user}","gists_url":"https://api.github.com/users/e-kolpakov/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kolpakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kolpakov/subscriptions","organizations_url":"https://api.github.com/users/e-kolpakov/orgs","repos_url":"https://api.github.com/users/e-kolpakov/repos","events_url":"https://api.github.com/users/e-kolpakov/events{/privacy}","received_events_url":"https://api.github.com/users/e-kolpakov/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T16:00:40Z","updated_at":"2015-03-31T16:00:40Z","body":"@martynjames ok, looking forward to it. This PR hangs on for quite some time to start to irritate me :)"}}