{"action":"created","issue":{"url":"https://api.github.com/repos/liqd/adhocracy3.mercator/issues/1686","labels_url":"https://api.github.com/repos/liqd/adhocracy3.mercator/issues/1686/labels{/name}","comments_url":"https://api.github.com/repos/liqd/adhocracy3.mercator/issues/1686/comments","events_url":"https://api.github.com/repos/liqd/adhocracy3.mercator/issues/1686/events","html_url":"https://github.com/liqd/adhocracy3.mercator/pull/1686","id":108392648,"number":1686,"title":"use catalog search  to get  user","user":{"login":"joka","id":353982,"avatar_url":"https://avatars.githubusercontent.com/u/353982?v=3","gravatar_id":"","url":"https://api.github.com/users/joka","html_url":"https://github.com/joka","followers_url":"https://api.github.com/users/joka/followers","following_url":"https://api.github.com/users/joka/following{/other_user}","gists_url":"https://api.github.com/users/joka/gists{/gist_id}","starred_url":"https://api.github.com/users/joka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joka/subscriptions","organizations_url":"https://api.github.com/users/joka/orgs","repos_url":"https://api.github.com/users/joka/repos","events_url":"https://api.github.com/users/joka/events{/privacy}","received_events_url":"https://api.github.com/users/joka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/liqd/adhocracy3.mercator/labels/backend","name":"backend","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-25T19:24:58Z","updated_at":"2015-09-25T20:45:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/liqd/adhocracy3.mercator/pulls/1686","html_url":"https://github.com/liqd/adhocracy3.mercator/pull/1686","diff_url":"https://github.com/liqd/adhocracy3.mercator/pull/1686.diff","patch_url":"https://github.com/liqd/adhocracy3.mercator/pull/1686.patch"},"body":"API EXTENSION:\r\n\r\n- add search index 'user_name' (to sort user by login name)\r\n\r\nINTERNAL:\r\n\r\n- refactor to speed up login/activation of users\r\n\r\nMANUAL MIGRATION NEEDED:\r\n\r\nRestart adhocracy, then reindex all users (@slomo):\r\n\r\n    bin/sd_reindex  -c adhocracy etc/development.ini -p \"/principals/users\"\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/liqd/adhocracy3.mercator/issues/comments/143349127","html_url":"https://github.com/liqd/adhocracy3.mercator/pull/1686#issuecomment-143349127","issue_url":"https://api.github.com/repos/liqd/adhocracy3.mercator/issues/1686","id":143349127,"user":{"login":"joka","id":353982,"avatar_url":"https://avatars.githubusercontent.com/u/353982?v=3","gravatar_id":"","url":"https://api.github.com/users/joka","html_url":"https://github.com/joka","followers_url":"https://api.github.com/users/joka/followers","following_url":"https://api.github.com/users/joka/following{/other_user}","gists_url":"https://api.github.com/users/joka/gists{/gist_id}","starred_url":"https://api.github.com/users/joka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joka/subscriptions","organizations_url":"https://api.github.com/users/joka/orgs","repos_url":"https://api.github.com/users/joka/repos","events_url":"https://api.github.com/users/joka/events{/privacy}","received_events_url":"https://api.github.com/users/joka/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T20:45:44Z","updated_at":"2015-09-25T20:45:44Z","body":"> @joka How dangerous would it be to always have that reindex step in the deployment (I am not really into manual deployment steps)\r\n\r\nI tried to add an automatic migrations step, but this is not easy."}}