{"action":"created","comment":{"url":"https://api.github.com/repos/ckan/ckan/pulls/comments/22474317","id":22474317,"diff_hunk":"@@ -174,6 +174,8 @@ def make_map():\n         m.connect('/util/resource/format_icon',\n                   action='format_icon', conditions=GET)\n         m.connect('/util/group/autocomplete', action='group_autocomplete')\n+        m.connect('/util/organization/autocomplete', action='organization_autocomplete',\n+                  conditions=GET)","path":"ckan/config/routing.py","position":5,"original_position":5,"commit_id":"33ebbd40b304e8f2f09c9f2512ed4dcb139c9ed5","original_commit_id":"33ebbd40b304e8f2f09c9f2512ed4dcb139c9ed5","user":{"login":"wardi","id":153258,"avatar_url":"https://avatars.githubusercontent.com/u/153258?v=3","gravatar_id":"","url":"https://api.github.com/users/wardi","html_url":"https://github.com/wardi","followers_url":"https://api.github.com/users/wardi/followers","following_url":"https://api.github.com/users/wardi/following{/other_user}","gists_url":"https://api.github.com/users/wardi/gists{/gist_id}","starred_url":"https://api.github.com/users/wardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardi/subscriptions","organizations_url":"https://api.github.com/users/wardi/orgs","repos_url":"https://api.github.com/users/wardi/repos","events_url":"https://api.github.com/users/wardi/events{/privacy}","received_events_url":"https://api.github.com/users/wardi/received_events","type":"User","site_admin":false},"body":"This is here just because the /util/group/autocomplete is here, right?\r\n\r\nBut this action is available by the API, what's the use of the extra controller?","created_at":"2015-01-05T17:19:46Z","updated_at":"2015-01-05T17:19:46Z","html_url":"https://github.com/ckan/ckan/pull/2134#discussion_r22474317","pull_request_url":"https://api.github.com/repos/ckan/ckan/pulls/2134","_links":{"self":{"href":"https://api.github.com/repos/ckan/ckan/pulls/comments/22474317"},"html":{"href":"https://github.com/ckan/ckan/pull/2134#discussion_r22474317"},"pull_request":{"href":"https://api.github.com/repos/ckan/ckan/pulls/2134"}}},"pull_request":{"url":"https://api.github.com/repos/ckan/ckan/pulls/2134","id":25807395,"html_url":"https://github.com/ckan/ckan/pull/2134","diff_url":"https://github.com/ckan/ckan/pull/2134.diff","patch_url":"https://github.com/ckan/ckan/pull/2134.patch","issue_url":"https://api.github.com/repos/ckan/ckan/issues/2134","number":2134,"state":"open","locked":false,"title":"2125 add organization autocomplete","user":{"login":"mwahlroos","id":5259586,"avatar_url":"https://avatars.githubusercontent.com/u/5259586?v=3","gravatar_id":"","url":"https://api.github.com/users/mwahlroos","html_url":"https://github.com/mwahlroos","followers_url":"https://api.github.com/users/mwahlroos/followers","following_url":"https://api.github.com/users/mwahlroos/following{/other_user}","gists_url":"https://api.github.com/users/mwahlroos/gists{/gist_id}","starred_url":"https://api.github.com/users/mwahlroos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwahlroos/subscriptions","organizations_url":"https://api.github.com/users/mwahlroos/orgs","repos_url":"https://api.github.com/users/mwahlroos/repos","events_url":"https://api.github.com/users/mwahlroos/events{/privacy}","received_events_url":"https://api.github.com/users/mwahlroos/received_events","type":"User","site_admin":false},"body":"Add autocomplete action and tests","created_at":"2014-12-10T09:11:03Z","updated_at":"2015-01-05T17:19:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f805f7d5b4208ac4f2c065d5b18cb40abf2fc61","assignee":{"login":"wardi","id":153258,"avatar_url":"https://avatars.githubusercontent.com/u/153258?v=3","gravatar_id":"","url":"https://api.github.com/users/wardi","html_url":"https://github.com/wardi","followers_url":"https://api.github.com/users/wardi/followers","following_url":"https://api.github.com/users/wardi/following{/other_user}","gists_url":"https://api.github.com/users/wardi/gists{/gist_id}","starred_url":"https://api.github.com/users/wardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardi/subscriptions","organizations_url":"https://api.github.com/users/wardi/orgs","repos_url":"https://api.github.com/users/wardi/repos","events_url":"https://api.github.com/users/wardi/events{/privacy}","received_events_url":"https://api.github.com/users/wardi/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ckan/ckan/pulls/2134/commits","review_comments_url":"https://api.github.com/repos/ckan/ckan/pulls/2134/comments","review_comment_url":"https://api.github.com/repos/ckan/ckan/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ckan/ckan/issues/2134/comments","statuses_url":"https://api.github.com/repos/ckan/ckan/statuses/33ebbd40b304e8f2f09c9f2512ed4dcb139c9ed5","head":{"label":"kata-csc:2125-add-organization-autocomplete","ref":"2125-add-organization-autocomplete","sha":"33ebbd40b304e8f2f09c9f2512ed4dcb139c9ed5","user":{"login":"kata-csc","id":2283671,"avatar_url":"https://avatars.githubusercontent.com/u/2283671?v=3","gravatar_id":"","url":"https://api.github.com/users/kata-csc","html_url":"https://github.com/kata-csc","followers_url":"https://api.github.com/users/kata-csc/followers","following_url":"https://api.github.com/users/kata-csc/following{/other_user}","gists_url":"https://api.github.com/users/kata-csc/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-csc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-csc/subscriptions","organizations_url":"https://api.github.com/users/kata-csc/orgs","repos_url":"https://api.github.com/users/kata-csc/repos","events_url":"https://api.github.com/users/kata-csc/events{/privacy}","received_events_url":"https://api.github.com/users/kata-csc/received_events","type":"Organization","site_admin":false},"repo":{"id":7166136,"name":"ckan","full_name":"kata-csc/ckan","owner":{"login":"kata-csc","id":2283671,"avatar_url":"https://avatars.githubusercontent.com/u/2283671?v=3","gravatar_id":"","url":"https://api.github.com/users/kata-csc","html_url":"https://github.com/kata-csc","followers_url":"https://api.github.com/users/kata-csc/followers","following_url":"https://api.github.com/users/kata-csc/following{/other_user}","gists_url":"https://api.github.com/users/kata-csc/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-csc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-csc/subscriptions","organizations_url":"https://api.github.com/users/kata-csc/orgs","repos_url":"https://api.github.com/users/kata-csc/repos","events_url":"https://api.github.com/users/kata-csc/events{/privacy}","received_events_url":"https://api.github.com/users/kata-csc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kata-csc/ckan","description":"CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers the http://thedatahub.org/ and http://data.gov.uk/ among many other sites.","fork":true,"url":"https://api.github.com/repos/kata-csc/ckan","forks_url":"https://api.github.com/repos/kata-csc/ckan/forks","keys_url":"https://api.github.com/repos/kata-csc/ckan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kata-csc/ckan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kata-csc/ckan/teams","hooks_url":"https://api.github.com/repos/kata-csc/ckan/hooks","issue_events_url":"https://api.github.com/repos/kata-csc/ckan/issues/events{/number}","events_url":"https://api.github.com/repos/kata-csc/ckan/events","assignees_url":"https://api.github.com/repos/kata-csc/ckan/assignees{/user}","branches_url":"https://api.github.com/repos/kata-csc/ckan/branches{/branch}","tags_url":"https://api.github.com/repos/kata-csc/ckan/tags","blobs_url":"https://api.github.com/repos/kata-csc/ckan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kata-csc/ckan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kata-csc/ckan/git/refs{/sha}","trees_url":"https://api.github.com/repos/kata-csc/ckan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kata-csc/ckan/statuses/{sha}","languages_url":"https://api.github.com/repos/kata-csc/ckan/languages","stargazers_url":"https://api.github.com/repos/kata-csc/ckan/stargazers","contributors_url":"https://api.github.com/repos/kata-csc/ckan/contributors","subscribers_url":"https://api.github.com/repos/kata-csc/ckan/subscribers","subscription_url":"https://api.github.com/repos/kata-csc/ckan/subscription","commits_url":"https://api.github.com/repos/kata-csc/ckan/commits{/sha}","git_commits_url":"https://api.github.com/repos/kata-csc/ckan/git/commits{/sha}","comments_url":"https://api.github.com/repos/kata-csc/ckan/comments{/number}","issue_comment_url":"https://api.github.com/repos/kata-csc/ckan/issues/comments/{number}","contents_url":"https://api.github.com/repos/kata-csc/ckan/contents/{+path}","compare_url":"https://api.github.com/repos/kata-csc/ckan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kata-csc/ckan/merges","archive_url":"https://api.github.com/repos/kata-csc/ckan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kata-csc/ckan/downloads","issues_url":"https://api.github.com/repos/kata-csc/ckan/issues{/number}","pulls_url":"https://api.github.com/repos/kata-csc/ckan/pulls{/number}","milestones_url":"https://api.github.com/repos/kata-csc/ckan/milestones{/number}","notifications_url":"https://api.github.com/repos/kata-csc/ckan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kata-csc/ckan/labels{/name}","releases_url":"https://api.github.com/repos/kata-csc/ckan/releases{/id}","created_at":"2012-12-14T13:49:02Z","updated_at":"2014-12-17T11:18:24Z","pushed_at":"2014-12-17T11:18:24Z","git_url":"git://github.com/kata-csc/ckan.git","ssh_url":"git@github.com:kata-csc/ckan.git","clone_url":"https://github.com/kata-csc/ckan.git","svn_url":"https://github.com/kata-csc/ckan","homepage":"http://ckan.org/","size":74382,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ckan:master","ref":"master","sha":"5ccbdf64b3896675208c9ed023efe910b9dfd268","user":{"login":"ckan","id":1630326,"avatar_url":"https://avatars.githubusercontent.com/u/1630326?v=3","gravatar_id":"","url":"https://api.github.com/users/ckan","html_url":"https://github.com/ckan","followers_url":"https://api.github.com/users/ckan/followers","following_url":"https://api.github.com/users/ckan/following{/other_user}","gists_url":"https://api.github.com/users/ckan/gists{/gist_id}","starred_url":"https://api.github.com/users/ckan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckan/subscriptions","organizations_url":"https://api.github.com/users/ckan/orgs","repos_url":"https://api.github.com/users/ckan/repos","events_url":"https://api.github.com/users/ckan/events{/privacy}","received_events_url":"https://api.github.com/users/ckan/received_events","type":"Organization","site_admin":false},"repo":{"id":2750721,"name":"ckan","full_name":"ckan/ckan","owner":{"login":"ckan","id":1630326,"avatar_url":"https://avatars.githubusercontent.com/u/1630326?v=3","gravatar_id":"","url":"https://api.github.com/users/ckan","html_url":"https://github.com/ckan","followers_url":"https://api.github.com/users/ckan/followers","following_url":"https://api.github.com/users/ckan/following{/other_user}","gists_url":"https://api.github.com/users/ckan/gists{/gist_id}","starred_url":"https://api.github.com/users/ckan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckan/subscriptions","organizations_url":"https://api.github.com/users/ckan/orgs","repos_url":"https://api.github.com/users/ckan/repos","events_url":"https://api.github.com/users/ckan/events{/privacy}","received_events_url":"https://api.github.com/users/ckan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ckan/ckan","description":"CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers datahub.io, catalog.data.gov and data.gov.uk among many other sites.","fork":false,"url":"https://api.github.com/repos/ckan/ckan","forks_url":"https://api.github.com/repos/ckan/ckan/forks","keys_url":"https://api.github.com/repos/ckan/ckan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ckan/ckan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ckan/ckan/teams","hooks_url":"https://api.github.com/repos/ckan/ckan/hooks","issue_events_url":"https://api.github.com/repos/ckan/ckan/issues/events{/number}","events_url":"https://api.github.com/repos/ckan/ckan/events","assignees_url":"https://api.github.com/repos/ckan/ckan/assignees{/user}","branches_url":"https://api.github.com/repos/ckan/ckan/branches{/branch}","tags_url":"https://api.github.com/repos/ckan/ckan/tags","blobs_url":"https://api.github.com/repos/ckan/ckan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ckan/ckan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ckan/ckan/git/refs{/sha}","trees_url":"https://api.github.com/repos/ckan/ckan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ckan/ckan/statuses/{sha}","languages_url":"https://api.github.com/repos/ckan/ckan/languages","stargazers_url":"https://api.github.com/repos/ckan/ckan/stargazers","contributors_url":"https://api.github.com/repos/ckan/ckan/contributors","subscribers_url":"https://api.github.com/repos/ckan/ckan/subscribers","subscription_url":"https://api.github.com/repos/ckan/ckan/subscription","commits_url":"https://api.github.com/repos/ckan/ckan/commits{/sha}","git_commits_url":"https://api.github.com/repos/ckan/ckan/git/commits{/sha}","comments_url":"https://api.github.com/repos/ckan/ckan/comments{/number}","issue_comment_url":"https://api.github.com/repos/ckan/ckan/issues/comments/{number}","contents_url":"https://api.github.com/repos/ckan/ckan/contents/{+path}","compare_url":"https://api.github.com/repos/ckan/ckan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ckan/ckan/merges","archive_url":"https://api.github.com/repos/ckan/ckan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ckan/ckan/downloads","issues_url":"https://api.github.com/repos/ckan/ckan/issues{/number}","pulls_url":"https://api.github.com/repos/ckan/ckan/pulls{/number}","milestones_url":"https://api.github.com/repos/ckan/ckan/milestones{/number}","notifications_url":"https://api.github.com/repos/ckan/ckan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ckan/ckan/labels{/name}","releases_url":"https://api.github.com/repos/ckan/ckan/releases{/id}","created_at":"2011-11-10T18:42:17Z","updated_at":"2015-01-05T16:30:32Z","pushed_at":"2015-01-05T16:39:01Z","git_url":"git://github.com/ckan/ckan.git","ssh_url":"git@github.com:ckan/ckan.git","clone_url":"https://github.com/ckan/ckan.git","svn_url":"https://github.com/ckan/ckan","homepage":"http://ckan.org/","size":162609,"stargazers_count":773,"watchers_count":773,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":419,"mirror_url":null,"open_issues_count":260,"forks":419,"open_issues":260,"watchers":773,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ckan/ckan/pulls/2134"},"html":{"href":"https://github.com/ckan/ckan/pull/2134"},"issue":{"href":"https://api.github.com/repos/ckan/ckan/issues/2134"},"comments":{"href":"https://api.github.com/repos/ckan/ckan/issues/2134/comments"},"review_comments":{"href":"https://api.github.com/repos/ckan/ckan/pulls/2134/comments"},"review_comment":{"href":"https://api.github.com/repos/ckan/ckan/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ckan/ckan/pulls/2134/commits"},"statuses":{"href":"https://api.github.com/repos/ckan/ckan/statuses/33ebbd40b304e8f2f09c9f2512ed4dcb139c9ed5"}}}}