{"action":"created","issue":{"url":"https://api.github.com/repos/publiclab/plots2/issues/3501","repository_url":"https://api.github.com/repos/publiclab/plots2","labels_url":"https://api.github.com/repos/publiclab/plots2/issues/3501/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/plots2/issues/3501/comments","events_url":"https://api.github.com/repos/publiclab/plots2/issues/3501/events","html_url":"https://github.com/publiclab/plots2/issues/3501","id":364284866,"node_id":"MDU6SXNzdWUzNjQyODQ4NjY=","number":3501,"title":"Search results: Change profile sorting to \"recent\" i.e. \"by most recent note/wiki post\"","user":{"login":"milaaraujo","id":4355017,"node_id":"MDQ6VXNlcjQzNTUwMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/4355017?v=4","gravatar_id":"","url":"https://api.github.com/users/milaaraujo","html_url":"https://github.com/milaaraujo","followers_url":"https://api.github.com/users/milaaraujo/followers","following_url":"https://api.github.com/users/milaaraujo/following{/other_user}","gists_url":"https://api.github.com/users/milaaraujo/gists{/gist_id}","starred_url":"https://api.github.com/users/milaaraujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milaaraujo/subscriptions","organizations_url":"https://api.github.com/users/milaaraujo/orgs","repos_url":"https://api.github.com/users/milaaraujo/repos","events_url":"https://api.github.com/users/milaaraujo/events{/privacy}","received_events_url":"https://api.github.com/users/milaaraujo/received_events","type":"User","site_admin":false},"labels":[{"id":343384842,"node_id":"MDU6TGFiZWwzNDMzODQ4NDI=","url":"https://api.github.com/repos/publiclab/plots2/labels/Ruby","name":"Ruby","color":"006b75","default":false},{"id":173349489,"node_id":"MDU6TGFiZWwxNzMzNDk0ODk=","url":"https://api.github.com/repos/publiclab/plots2/labels/help-wanted","name":"help-wanted","color":"0e8a16","default":false},{"id":1069526275,"node_id":"MDU6TGFiZWwxMDY5NTI2Mjc1","url":"https://api.github.com/repos/publiclab/plots2/labels/search","name":"search","color":"e3f70c","default":false}],"state":"open","locked":false,"assignee":{"login":"stefannibrasil","id":10670581,"node_id":"MDQ6VXNlcjEwNjcwNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/10670581?v=4","gravatar_id":"","url":"https://api.github.com/users/stefannibrasil","html_url":"https://github.com/stefannibrasil","followers_url":"https://api.github.com/users/stefannibrasil/followers","following_url":"https://api.github.com/users/stefannibrasil/following{/other_user}","gists_url":"https://api.github.com/users/stefannibrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/stefannibrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefannibrasil/subscriptions","organizations_url":"https://api.github.com/users/stefannibrasil/orgs","repos_url":"https://api.github.com/users/stefannibrasil/repos","events_url":"https://api.github.com/users/stefannibrasil/events{/privacy}","received_events_url":"https://api.github.com/users/stefannibrasil/received_events","type":"User","site_admin":false},"assignees":[{"login":"stefannibrasil","id":10670581,"node_id":"MDQ6VXNlcjEwNjcwNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/10670581?v=4","gravatar_id":"","url":"https://api.github.com/users/stefannibrasil","html_url":"https://github.com/stefannibrasil","followers_url":"https://api.github.com/users/stefannibrasil/followers","following_url":"https://api.github.com/users/stefannibrasil/following{/other_user}","gists_url":"https://api.github.com/users/stefannibrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/stefannibrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefannibrasil/subscriptions","organizations_url":"https://api.github.com/users/stefannibrasil/orgs","repos_url":"https://api.github.com/users/stefannibrasil/repos","events_url":"https://api.github.com/users/stefannibrasil/events{/privacy}","received_events_url":"https://api.github.com/users/stefannibrasil/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-09-27T02:51:22Z","updated_at":"2018-10-22T16:55:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In the search [page](https://publiclab.org/search/profiles/example/), when we select the \"profiles\" tab it would be more interesting if the results were sorted by the most recent users first.\r\n\r\nThe `/api/srch/profiles` already has the parameter `sort_by`. One possible solution would be to change this [line]( https://github.com/publiclab/plots2/blob/master/app/views/search/profiles.html.erb#L10) so it calls the endpoint:\r\n```\r\nhttps://publiclab.org/search/profiles/#{profile.username}?sort_by=recent\r\n```"},"comment":{"url":"https://api.github.com/repos/publiclab/plots2/issues/comments/431895838","html_url":"https://github.com/publiclab/plots2/issues/3501#issuecomment-431895838","issue_url":"https://api.github.com/repos/publiclab/plots2/issues/3501","id":431895838,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTg5NTgzOA==","user":{"login":"stefannibrasil","id":10670581,"node_id":"MDQ6VXNlcjEwNjcwNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/10670581?v=4","gravatar_id":"","url":"https://api.github.com/users/stefannibrasil","html_url":"https://github.com/stefannibrasil","followers_url":"https://api.github.com/users/stefannibrasil/followers","following_url":"https://api.github.com/users/stefannibrasil/following{/other_user}","gists_url":"https://api.github.com/users/stefannibrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/stefannibrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefannibrasil/subscriptions","organizations_url":"https://api.github.com/users/stefannibrasil/orgs","repos_url":"https://api.github.com/users/stefannibrasil/repos","events_url":"https://api.github.com/users/stefannibrasil/events{/privacy}","received_events_url":"https://api.github.com/users/stefannibrasil/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T16:55:05Z","updated_at":"2018-10-22T16:55:05Z","author_association":"CONTRIBUTOR","body":"hi, everyone. I'm afraid I'm not gonna have the time for this.\r\n\r\n@milaaraujo do you wanna move with this one? Thanks!"}}
{"actor":{"display_login":"stefannibrasil"}}