{"action":"closed","issue":{"url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/513","labels_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/513/comments","events_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/513/events","html_url":"https://github.com/zooniverse/Panoptes-Front-End/issues/513","id":86648311,"number":513,"title":"Conversation user search","user":{"login":"parrish","id":122990,"avatar_url":"https://avatars.githubusercontent.com/u/122990?v=3","gravatar_id":"","url":"https://api.github.com/users/parrish","html_url":"https://github.com/parrish","followers_url":"https://api.github.com/users/parrish/followers","following_url":"https://api.github.com/users/parrish/following{/other_user}","gists_url":"https://api.github.com/users/parrish/gists{/gist_id}","starred_url":"https://api.github.com/users/parrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parrish/subscriptions","organizations_url":"https://api.github.com/users/parrish/orgs","repos_url":"https://api.github.com/users/parrish/repos","events_url":"https://api.github.com/users/parrish/events{/privacy}","received_events_url":"https://api.github.com/users/parrish/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/labels/talk","name":"talk","color":"72a58a"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/milestones/3","html_url":"https://github.com/zooniverse/Panoptes-Front-End/milestones/Talk%20Beta","labels_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/milestones/3/labels","id":1125728,"number":3,"title":"Talk Beta","description":"Essential features for being able to test projects with talk","creator":{"login":"chrislintott","id":423607,"avatar_url":"https://avatars.githubusercontent.com/u/423607?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislintott","html_url":"https://github.com/chrislintott","followers_url":"https://api.github.com/users/chrislintott/followers","following_url":"https://api.github.com/users/chrislintott/following{/other_user}","gists_url":"https://api.github.com/users/chrislintott/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislintott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislintott/subscriptions","organizations_url":"https://api.github.com/users/chrislintott/orgs","repos_url":"https://api.github.com/users/chrislintott/repos","events_url":"https://api.github.com/users/chrislintott/events{/privacy}","received_events_url":"https://api.github.com/users/chrislintott/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2015-05-22T14:11:39Z","updated_at":"2015-07-01T18:27:10Z","due_on":null,"closed_at":null},"comments":21,"created_at":"2015-06-09T15:59:37Z","updated_at":"2015-07-01T18:27:10Z","closed_at":"2015-07-01T18:27:10Z","body":"@aweiksnar while working on notifications, I found that the conversation started on #/users/parrish was being started with the wrong user:\r\n\r\n`GET https://panoptes-staging.zooniverse.org/api/users?display_name=parrish`\r\n\r\n```json\r\n{\r\n  \"users\": [\r\n    {\r\n      \"display_name\": \"parrish2\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish_temp\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish_signup_test\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrishv15\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish_testing\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish_serengeti\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish003\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish124\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish123\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrishfamily4\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish_ses_test\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish76543210\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish_no_reply_test\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish_sea\"\r\n    },\r\n    {\r\n      \"display_name\": \"PARRISH1108\"\r\n    },\r\n    {\r\n      \"display_name\": \"Parrishalexandria\"\r\n    },\r\n    {\r\n      \"display_name\": \"ParrishCN\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish001\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish\"\r\n    },\r\n    {\r\n      \"display_name\": \"parrish_galaxy_zoo_test_123\"\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\nThe exact match is 18th in the results.  Since it's doing a case-insensitive pattern match, this endpoint is not useful to select a user by name.\r\n\r\n@camallen, @edpaget We should either provide an actual filter on the serializer and move the search to a separate endpoint or I'll provide the proper response via the talk api.\r\n\r\nI don't have a preference, but I can't imagine this won't be a recurring problem."}}