{"action":"created","issue":{"url":"https://api.github.com/repos/sugarlabs/www-sugarlabs/issues/198","repository_url":"https://api.github.com/repos/sugarlabs/www-sugarlabs","labels_url":"https://api.github.com/repos/sugarlabs/www-sugarlabs/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/sugarlabs/www-sugarlabs/issues/198/comments","events_url":"https://api.github.com/repos/sugarlabs/www-sugarlabs/issues/198/events","html_url":"https://github.com/sugarlabs/www-sugarlabs/pull/198","id":300251000,"number":198,"title":"Fixed search not working in all pages","user":{"login":"abdulsamad234","id":20265645,"avatar_url":"https://avatars0.githubusercontent.com/u/20265645?v=4","gravatar_id":"","url":"https://api.github.com/users/abdulsamad234","html_url":"https://github.com/abdulsamad234","followers_url":"https://api.github.com/users/abdulsamad234/followers","following_url":"https://api.github.com/users/abdulsamad234/following{/other_user}","gists_url":"https://api.github.com/users/abdulsamad234/gists{/gist_id}","starred_url":"https://api.github.com/users/abdulsamad234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdulsamad234/subscriptions","organizations_url":"https://api.github.com/users/abdulsamad234/orgs","repos_url":"https://api.github.com/users/abdulsamad234/repos","events_url":"https://api.github.com/users/abdulsamad234/events{/privacy}","received_events_url":"https://api.github.com/users/abdulsamad234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T14:06:16Z","updated_at":"2018-03-01T10:11:30Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/sugarlabs/www-sugarlabs/pulls/198","html_url":"https://github.com/sugarlabs/www-sugarlabs/pull/198","diff_url":"https://github.com/sugarlabs/www-sugarlabs/pull/198.diff","patch_url":"https://github.com/sugarlabs/www-sugarlabs/pull/198.patch"},"body":"I changed line 42 of nav.html so that when the search is pressed, the request that is sent holds the general search url which is https://sugarlabs.org//search?q=... because it seems like the server side code is not setup to respond to search requests from other pages."},"comment":{"url":"https://api.github.com/repos/sugarlabs/www-sugarlabs/issues/comments/369543557","html_url":"https://github.com/sugarlabs/www-sugarlabs/pull/198#issuecomment-369543557","issue_url":"https://api.github.com/repos/sugarlabs/www-sugarlabs/issues/198","id":369543557,"user":{"login":"abdulsamad234","id":20265645,"avatar_url":"https://avatars0.githubusercontent.com/u/20265645?v=4","gravatar_id":"","url":"https://api.github.com/users/abdulsamad234","html_url":"https://github.com/abdulsamad234","followers_url":"https://api.github.com/users/abdulsamad234/followers","following_url":"https://api.github.com/users/abdulsamad234/following{/other_user}","gists_url":"https://api.github.com/users/abdulsamad234/gists{/gist_id}","starred_url":"https://api.github.com/users/abdulsamad234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdulsamad234/subscriptions","organizations_url":"https://api.github.com/users/abdulsamad234/orgs","repos_url":"https://api.github.com/users/abdulsamad234/repos","events_url":"https://api.github.com/users/abdulsamad234/events{/privacy}","received_events_url":"https://api.github.com/users/abdulsamad234/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T10:11:30Z","updated_at":"2018-03-01T10:11:30Z","author_association":"NONE","body":"As the previous method will only work when the website is hosted with sugar labs. I changed the `window.location.href,` which will return the whole location url, to `window.location.hostname` which only returns the url in this format: www.example.com"}}
{"actor":{"display_login":"abdulsamad234"}}