{"action":"closed","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7398","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7398/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7398/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7398/events","html_url":"https://github.com/wordpress-mobile/WordPress-Android/issues/7398","id":302755801,"number":7398,"title":"Media browser: Incorrect behavior when displaying search results ","user":{"login":"jorgecasariego","id":2581647,"avatar_url":"https://avatars0.githubusercontent.com/u/2581647?v=4","gravatar_id":"","url":"https://api.github.com/users/jorgecasariego","html_url":"https://github.com/jorgecasariego","followers_url":"https://api.github.com/users/jorgecasariego/followers","following_url":"https://api.github.com/users/jorgecasariego/following{/other_user}","gists_url":"https://api.github.com/users/jorgecasariego/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgecasariego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgecasariego/subscriptions","organizations_url":"https://api.github.com/users/jorgecasariego/orgs","repos_url":"https://api.github.com/users/jorgecasariego/repos","events_url":"https://api.github.com/users/jorgecasariego/events{/privacy}","received_events_url":"https://api.github.com/users/jorgecasariego/received_events","type":"User","site_admin":false},"labels":[{"id":114455495,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/Media","name":"Media","color":"006b75","default":false},{"id":35106418,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/[Type]%20Bug","name":"[Type] Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-06T15:51:30Z","updated_at":"2018-03-21T00:04:45Z","closed_at":"2018-03-21T00:04:45Z","author_association":"CONTRIBUTOR","body":"### Expected behavior\r\nWhen performing a search, only display items related to the selected tab.\r\n\r\n### Actual behavior\r\nWhen performing a search it is displaying items not related to the current Tab\r\n\r\n### Steps to reproduce the behavior\r\n\r\n1. Go to **Sites** tab.\r\n2. Tap **Media** item.\r\n3. Add one or more images.\r\n4. Tap **Documents** tab.\r\n5. Tap **Search** action.\r\n6. Notice images show in empty search. That's wrong. Only documents should be shown.\r\n7. Enter search text to filter out images.\r\n8. Tap back arrow to exit search.\r\n9. Notice images show in **Documents** tab. That's wrong. Only documents should be shown.\r\n\r\n**Before Tap on Search icon**\r\n\r\n<img src=\"https://user-images.githubusercontent.com/2581647/37042178-ab738320-213c-11e8-895c-614e105736a3.png\" width=300/>\r\n\r\n**After Tap on Search icon**\r\n\r\n<img src=\"https://user-images.githubusercontent.com/2581647/37042179-aba38480-213c-11e8-8151-1cf51cf634f5.png\" width=300/>\r\n\r\n\r\n##### Tested on Nexus 5, Android API 26"}}
{"actor":{"display_login":"theck13"}}