{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1335","repository_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com","labels_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1335/labels{/name}","comments_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1335/comments","events_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1335/events","html_url":"https://github.com/redhat-developer/developers.redhat.com/pull/1335","id":169342418,"number":1335,"title":"[DEVELOPER-3359] Navigation is broken on search page of site export from Drupal","user":{"login":"robpblake","id":1170393,"avatar_url":"https://avatars.githubusercontent.com/u/1170393?v=3","gravatar_id":"","url":"https://api.github.com/users/robpblake","html_url":"https://github.com/robpblake","followers_url":"https://api.github.com/users/robpblake/followers","following_url":"https://api.github.com/users/robpblake/following{/other_user}","gists_url":"https://api.github.com/users/robpblake/gists{/gist_id}","starred_url":"https://api.github.com/users/robpblake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robpblake/subscriptions","organizations_url":"https://api.github.com/users/robpblake/orgs","repos_url":"https://api.github.com/users/robpblake/repos","events_url":"https://api.github.com/users/robpblake/events{/privacy}","received_events_url":"https://api.github.com/users/robpblake/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-04T10:26:59Z","updated_at":"2016-08-04T16:24:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/1335","html_url":"https://github.com/redhat-developer/developers.redhat.com/pull/1335","diff_url":"https://github.com/redhat-developer/developers.redhat.com/pull/1335.diff","patch_url":"https://github.com/redhat-developer/developers.redhat.com/pull/1335.patch"},"body":"This PR does a couple of things:\r\n\r\n1.  Updates the form target re-writing logic to set the URL relative to the current page rather than absolute. It does this by requiring an anchor element on the same page with the id \"home-link\", which points to the home page of the site. It then uses the href attribute of this link to set the location of the search page (it makes the assumption that search will continue to exist at /search.html on the site). I've updated the Drupal layout to include this link.\r\n\r\n2. Modifies the search.js implementation to rely on Javascript's window.location.pathname attribute when pushing navigation history into the browser. Previously it was hard-coded to '/search/', which was breaking the export of the site from Drupal.\r\n\r\nPlease fully test the search functions of the site preview before merging this as I have very little Angular experience.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/comments/237606075","html_url":"https://github.com/redhat-developer/developers.redhat.com/pull/1335#issuecomment-237606075","issue_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1335","id":237606075,"user":{"login":"JBossJenkins","id":4104678,"avatar_url":"https://avatars.githubusercontent.com/u/4104678?v=3","gravatar_id":"","url":"https://api.github.com/users/JBossJenkins","html_url":"https://github.com/JBossJenkins","followers_url":"https://api.github.com/users/JBossJenkins/followers","following_url":"https://api.github.com/users/JBossJenkins/following{/other_user}","gists_url":"https://api.github.com/users/JBossJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/JBossJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBossJenkins/subscriptions","organizations_url":"https://api.github.com/users/JBossJenkins/orgs","repos_url":"https://api.github.com/users/JBossJenkins/repos","events_url":"https://api.github.com/users/JBossJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/JBossJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T16:24:16Z","updated_at":"2016-08-04T16:24:16Z","body":"RHD success\n"}}
{"actor":{"display_login":"JBossJenkins"}}