edx/edx-platform — pull request #4351 by lduarte1991 (2014-07-09 17:04:16+00:00)
Title: Annotation Tool: Bug Fix Filtered Personal Annotations on Page Load

**Background**: During the live testing of the tool, we found a bug which filtered the annotations from the table below the source, but not within the source itself during the "instructor tab". Basically if you set the default tab to be instructor, the tool would give you the instructor tool as well as your personal ones.

**Studio Updates**: None.

**LMS Updates**: When instructor is the default tab, you should only see instructor annotations instead of a mix of instructor and your own.

**Testing**: Set up the text tool as usual (i.e. annotation storage url, secret token, advanced modules). Once it's set up add it to a module. In the settings for that component make sure you change the default tab to "Instructor" and that you add in an instructor email (helpful if it's valid, but also not necessary). Go into the LMS. Here create a few annotations (both as student and instructor, though if you didn't put a valid instructor email, you'll be looking for no annotations). Then reload the page. It should default to instructor with only the instructor annotations (if any) and none of your personal ones. Hitting the tab for "MyNotes" or "Public" should show you the appropriate annotations as well. Compare this to the current tool already in production which results in your personal annotations showing up alongside the instructor annotations.

**Urgency**: It'd be helpful to have this in either the release candidate for the week of the 14th or the one in the 21st.