{"action":"opened","number":4158,"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/4158","id":37314070,"html_url":"https://github.com/elastic/kibana/pull/4158","diff_url":"https://github.com/elastic/kibana/pull/4158.diff","patch_url":"https://github.com/elastic/kibana/pull/4158.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/4158","number":4158,"state":"open","locked":false,"title":"Fix issue with timepicker disappearing on back button","user":{"login":"lukasolson","id":1178348,"avatar_url":"https://avatars.githubusercontent.com/u/1178348?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasolson","html_url":"https://github.com/lukasolson","followers_url":"https://api.github.com/users/lukasolson/followers","following_url":"https://api.github.com/users/lukasolson/following{/other_user}","gists_url":"https://api.github.com/users/lukasolson/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasolson/subscriptions","organizations_url":"https://api.github.com/users/lukasolson/orgs","repos_url":"https://api.github.com/users/lukasolson/repos","events_url":"https://api.github.com/users/lukasolson/events{/privacy}","received_events_url":"https://api.github.com/users/lukasolson/received_events","type":"User","site_admin":false},"body":"When you first load up Kibana, the default time selection is \"now-15m\". When you switch the time selection, you'll notice in the URL something like *time:(from:now%2Fd,mode:quick,to:now%2Fd))*. Notice that the URL contains \"mode\". However, when you click the back button, you're left with \"time:(from:now-15m,to:now))\" in the URL (no \"mode\"). This is because the default time selection didn't contain a key for \"mode\" (see the code changes in this PR). All we had to do was add \"mode\" to the default time selection and voila! It works.\r\n\r\nCloses #4144.","created_at":"2015-06-10T00:20:36Z","updated_at":"2015-06-10T00:20:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"panda01","id":549944,"avatar_url":"https://avatars.githubusercontent.com/u/549944?v=3","gravatar_id":"","url":"https://api.github.com/users/panda01","html_url":"https://github.com/panda01","followers_url":"https://api.github.com/users/panda01/followers","following_url":"https://api.github.com/users/panda01/following{/other_user}","gists_url":"https://api.github.com/users/panda01/gists{/gist_id}","starred_url":"https://api.github.com/users/panda01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panda01/subscriptions","organizations_url":"https://api.github.com/users/panda01/orgs","repos_url":"https://api.github.com/users/panda01/repos","events_url":"https://api.github.com/users/panda01/events{/privacy}","received_events_url":"https://api.github.com/users/panda01/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/4158/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/4158/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/4158/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/bec51e81802e31097639b62d12204da98568774e","head":{"label":"lukasolson:issues/4144","ref":"issues/4144","sha":"bec51e81802e31097639b62d12204da98568774e","user":{"login":"lukasolson","id":1178348,"avatar_url":"https://avatars.githubusercontent.com/u/1178348?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasolson","html_url":"https://github.com/lukasolson","followers_url":"https://api.github.com/users/lukasolson/followers","following_url":"https://api.github.com/users/lukasolson/following{/other_user}","gists_url":"https://api.github.com/users/lukasolson/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasolson/subscriptions","organizations_url":"https://api.github.com/users/lukasolson/orgs","repos_url":"https://api.github.com/users/lukasolson/repos","events_url":"https://api.github.com/users/lukasolson/events{/privacy}","received_events_url":"https://api.github.com/users/lukasolson/received_events","type":"User","site_admin":false},"repo":{"id":26142062,"name":"kibana","full_name":"lukasolson/kibana","owner":{"login":"lukasolson","id":1178348,"avatar_url":"https://avatars.githubusercontent.com/u/1178348?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasolson","html_url":"https://github.com/lukasolson","followers_url":"https://api.github.com/users/lukasolson/followers","following_url":"https://api.github.com/users/lukasolson/following{/other_user}","gists_url":"https://api.github.com/users/lukasolson/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasolson/subscriptions","organizations_url":"https://api.github.com/users/lukasolson/orgs","repos_url":"https://api.github.com/users/lukasolson/repos","events_url":"https://api.github.com/users/lukasolson/events{/privacy}","received_events_url":"https://api.github.com/users/lukasolson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukasolson/kibana","description":"Kibana","fork":true,"url":"https://api.github.com/repos/lukasolson/kibana","forks_url":"https://api.github.com/repos/lukasolson/kibana/forks","keys_url":"https://api.github.com/repos/lukasolson/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukasolson/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukasolson/kibana/teams","hooks_url":"https://api.github.com/repos/lukasolson/kibana/hooks","issue_events_url":"https://api.github.com/repos/lukasolson/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/lukasolson/kibana/events","assignees_url":"https://api.github.com/repos/lukasolson/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/lukasolson/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/lukasolson/kibana/tags","blobs_url":"https://api.github.com/repos/lukasolson/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukasolson/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukasolson/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukasolson/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukasolson/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/lukasolson/kibana/languages","stargazers_url":"https://api.github.com/repos/lukasolson/kibana/stargazers","contributors_url":"https://api.github.com/repos/lukasolson/kibana/contributors","subscribers_url":"https://api.github.com/repos/lukasolson/kibana/subscribers","subscription_url":"https://api.github.com/repos/lukasolson/kibana/subscription","commits_url":"https://api.github.com/repos/lukasolson/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukasolson/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukasolson/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukasolson/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukasolson/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/lukasolson/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukasolson/kibana/merges","archive_url":"https://api.github.com/repos/lukasolson/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukasolson/kibana/downloads","issues_url":"https://api.github.com/repos/lukasolson/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/lukasolson/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/lukasolson/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/lukasolson/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukasolson/kibana/labels{/name}","releases_url":"https://api.github.com/repos/lukasolson/kibana/releases{/id}","created_at":"2014-11-03T22:34:05Z","updated_at":"2015-05-08T20:08:26Z","pushed_at":"2015-06-10T00:13:49Z","git_url":"git://github.com/lukasolson/kibana.git","ssh_url":"git@github.com:lukasolson/kibana.git","clone_url":"https://github.com/lukasolson/kibana.git","svn_url":"https://github.com/lukasolson/kibana","homepage":"http://www.elasticsearch.org/overview/kibana/","size":57562,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"elastic:master","ref":"master","sha":"c5e159e1d7fd08269d265353d6164f91e38a9c04","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":"Kibana","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","created_at":"2013-01-26T04:00:59Z","updated_at":"2015-06-10T00:06:28Z","pushed_at":"2015-06-10T00:03:20Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":90574,"stargazers_count":3670,"watchers_count":3670,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1350,"mirror_url":null,"open_issues_count":514,"forks":1350,"open_issues":514,"watchers":3670,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/4158"},"html":{"href":"https://github.com/elastic/kibana/pull/4158"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/4158"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/4158/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/4158/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/4158/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/bec51e81802e31097639b62d12204da98568774e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}