{"action":"created","issue":{"url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/issues/3893","repository_url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan","labels_url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/issues/3893/labels{/name}","comments_url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/issues/3893/comments","events_url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/issues/3893/events","html_url":"https://github.com/OCHA-DAP/hdx-ckan/issues/3893","id":119901179,"number":3893,"title":"Organization Search: organizations not found","user":{"login":"cjhendrix","id":1654485,"avatar_url":"https://avatars.githubusercontent.com/u/1654485?v=3","gravatar_id":"","url":"https://api.github.com/users/cjhendrix","html_url":"https://github.com/cjhendrix","followers_url":"https://api.github.com/users/cjhendrix/followers","following_url":"https://api.github.com/users/cjhendrix/following{/other_user}","gists_url":"https://api.github.com/users/cjhendrix/gists{/gist_id}","starred_url":"https://api.github.com/users/cjhendrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjhendrix/subscriptions","organizations_url":"https://api.github.com/users/cjhendrix/orgs","repos_url":"https://api.github.com/users/cjhendrix/repos","events_url":"https://api.github.com/users/cjhendrix/events{/privacy}","received_events_url":"https://api.github.com/users/cjhendrix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/labels/Priority-Low","name":"Priority-Low","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"aalecs","id":5638491,"avatar_url":"https://avatars.githubusercontent.com/u/5638491?v=3","gravatar_id":"","url":"https://api.github.com/users/aalecs","html_url":"https://github.com/aalecs","followers_url":"https://api.github.com/users/aalecs/followers","following_url":"https://api.github.com/users/aalecs/following{/other_user}","gists_url":"https://api.github.com/users/aalecs/gists{/gist_id}","starred_url":"https://api.github.com/users/aalecs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalecs/subscriptions","organizations_url":"https://api.github.com/users/aalecs/orgs","repos_url":"https://api.github.com/users/aalecs/repos","events_url":"https://api.github.com/users/aalecs/events{/privacy}","received_events_url":"https://api.github.com/users/aalecs/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/milestones/82","html_url":"https://github.com/OCHA-DAP/hdx-ckan/milestones/Sprint%2081","labels_url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/milestones/82/labels","id":1611139,"number":82,"title":"Sprint 81","description":"","creator":{"login":"danmihaila","id":3865844,"avatar_url":"https://avatars.githubusercontent.com/u/3865844?v=3","gravatar_id":"","url":"https://api.github.com/users/danmihaila","html_url":"https://github.com/danmihaila","followers_url":"https://api.github.com/users/danmihaila/followers","following_url":"https://api.github.com/users/danmihaila/following{/other_user}","gists_url":"https://api.github.com/users/danmihaila/gists{/gist_id}","starred_url":"https://api.github.com/users/danmihaila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmihaila/subscriptions","organizations_url":"https://api.github.com/users/danmihaila/orgs","repos_url":"https://api.github.com/users/danmihaila/repos","events_url":"https://api.github.com/users/danmihaila/events{/privacy}","received_events_url":"https://api.github.com/users/danmihaila/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":2,"state":"open","created_at":"2016-02-29T08:45:52Z","updated_at":"2016-03-01T15:28:20Z","due_on":"2016-03-12T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-12-02T09:29:39Z","updated_at":"2016-03-02T11:28:51Z","closed_at":null,"body":"On demo, these 4 organizations exist: \r\n* Demo - Cluster A\r\n* Demo - Cluster B\r\n* Demo - Cluster C\r\n* Demo - Cluster D\r\n\r\nHowever, in the organization search bar on /organization,  searching for them by name doesn't find them.  Searching \"demo\"  or \"cluster\" works, but searching \"demo cluster a\" or \"demo - cluster a\" does not. \r\n\r\nSearching for other multi-word orgs like \"ocha dr congo\" for example, works.   Maybe something to do with the hyphen?"},"comment":{"url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/issues/comments/191195369","html_url":"https://github.com/OCHA-DAP/hdx-ckan/issues/3893#issuecomment-191195369","issue_url":"https://api.github.com/repos/OCHA-DAP/hdx-ckan/issues/3893","id":191195369,"user":{"login":"aalecs","id":5638491,"avatar_url":"https://avatars.githubusercontent.com/u/5638491?v=3","gravatar_id":"","url":"https://api.github.com/users/aalecs","html_url":"https://github.com/aalecs","followers_url":"https://api.github.com/users/aalecs/followers","following_url":"https://api.github.com/users/aalecs/following{/other_user}","gists_url":"https://api.github.com/users/aalecs/gists{/gist_id}","starred_url":"https://api.github.com/users/aalecs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalecs/subscriptions","organizations_url":"https://api.github.com/users/aalecs/orgs","repos_url":"https://api.github.com/users/aalecs/repos","events_url":"https://api.github.com/users/aalecs/events{/privacy}","received_events_url":"https://api.github.com/users/aalecs/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T11:28:51Z","updated_at":"2016-03-02T11:28:51Z","body":"@cjhendrix - it might have to do with the fact that the datasets assigned to cluster A and D are not pulbic.\r\nI did a test with 3 orgs named as you suggested and it works in all cases and the search isn't case sensitive."}}