{"action":"created","comment":{"url":"https://api.github.com/repos/hasadna/anyway/pulls/comments/37771192","id":37771192,"diff_hunk":"@@ -800,15 +763,16 @@ $(function () {\n             }\n         },\n         getCurrentUrlParams: function () {\n-          var dateRange = app.model.get(\"dateRange\");\n-          var center = app.map.getCenter();\n-          return \"start_date=\" + moment(dateRange[0]).format(\"YYYY-MM-DD\") +\n-              \"&end_date=\" + moment(dateRange[1]).format(\"YYYY-MM-DD\") +\n-              \"&show_fatal=\" + (parseInt(app.model.get(\"showFatal\")) || 0) +\n-              \"&show_severe=\" + (parseInt(app.model.get(\"showSevere\")) || 0) +\n-              \"&show_light=\" + (parseInt(app.model.get(\"showLight\")) || 0) +\n-              \"&show_inaccurate=\" + (parseInt(app.model.get(\"showInaccurateMarkers\")) || 0) +\n-              \"&zoom=\" + app.map.zoom + \"&lat=\" + center.lat() + \"&lon=\" + center.lng();\n+        // TODO: After the filters a re ready improve that too accordingly","path":"static/js/app.js","position":224,"original_position":224,"commit_id":"50e49492ade98af40eecfe578301c6ea6f86cd2a","original_commit_id":"71dc2531083ff94c11cbb48fdcddcf0d6bd614d8","user":{"login":"omerxx","id":12237955,"avatar_url":"https://avatars.githubusercontent.com/u/12237955?v=3","gravatar_id":"","url":"https://api.github.com/users/omerxx","html_url":"https://github.com/omerxx","followers_url":"https://api.github.com/users/omerxx/followers","following_url":"https://api.github.com/users/omerxx/following{/other_user}","gists_url":"https://api.github.com/users/omerxx/gists{/gist_id}","starred_url":"https://api.github.com/users/omerxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerxx/subscriptions","organizations_url":"https://api.github.com/users/omerxx/orgs","repos_url":"https://api.github.com/users/omerxx/repos","events_url":"https://api.github.com/users/omerxx/events{/privacy}","received_events_url":"https://api.github.com/users/omerxx/received_events","type":"User","site_admin":false},"body":"Fixed - shortened the line to only contain date range, zoom, and geo location.\r\n\r\nIf we would like to allow the user to save a filter configuration and send it in a link, we should do it in a different issue, and generate a unique code for each configuration that would be parsed to bounding box query.","created_at":"2015-08-24T16:31:15Z","updated_at":"2015-08-24T16:31:15Z","html_url":"https://github.com/hasadna/anyway/pull/412#discussion_r37771192","pull_request_url":"https://api.github.com/repos/hasadna/anyway/pulls/412","_links":{"self":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/comments/37771192"},"html":{"href":"https://github.com/hasadna/anyway/pull/412#discussion_r37771192"},"pull_request":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/412"}}},"pull_request":{"url":"https://api.github.com/repos/hasadna/anyway/pulls/412","id":41276867,"html_url":"https://github.com/hasadna/anyway/pull/412","diff_url":"https://github.com/hasadna/anyway/pull/412.diff","patch_url":"https://github.com/hasadna/anyway/pull/412.patch","issue_url":"https://api.github.com/repos/hasadna/anyway/issues/412","number":412,"state":"open","locked":false,"title":"New filter sidebar [Ready to merge]","user":{"login":"omerxx","id":12237955,"avatar_url":"https://avatars.githubusercontent.com/u/12237955?v=3","gravatar_id":"","url":"https://api.github.com/users/omerxx","html_url":"https://github.com/omerxx","followers_url":"https://api.github.com/users/omerxx/followers","following_url":"https://api.github.com/users/omerxx/following{/other_user}","gists_url":"https://api.github.com/users/omerxx/gists{/gist_id}","starred_url":"https://api.github.com/users/omerxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerxx/subscriptions","organizations_url":"https://api.github.com/users/omerxx/orgs","repos_url":"https://api.github.com/users/omerxx/repos","events_url":"https://api.github.com/users/omerxx/events{/privacy}","received_events_url":"https://api.github.com/users/omerxx/received_events","type":"User","site_admin":false},"body":"Do not merge. Opened this only to test on heroku.","created_at":"2015-07-30T20:15:05Z","updated_at":"2015-08-24T16:31:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff6404464ae7b184c9041cc698e9e704cdbeeee1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hasadna/anyway/pulls/412/commits","review_comments_url":"https://api.github.com/repos/hasadna/anyway/pulls/412/comments","review_comment_url":"https://api.github.com/repos/hasadna/anyway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hasadna/anyway/issues/412/comments","statuses_url":"https://api.github.com/repos/hasadna/anyway/statuses/50e49492ade98af40eecfe578301c6ea6f86cd2a","head":{"label":"hasadna:newFilterSidebar","ref":"newFilterSidebar","sha":"50e49492ade98af40eecfe578301c6ea6f86cd2a","user":{"login":"hasadna","id":503639,"avatar_url":"https://avatars.githubusercontent.com/u/503639?v=3","gravatar_id":"","url":"https://api.github.com/users/hasadna","html_url":"https://github.com/hasadna","followers_url":"https://api.github.com/users/hasadna/followers","following_url":"https://api.github.com/users/hasadna/following{/other_user}","gists_url":"https://api.github.com/users/hasadna/gists{/gist_id}","starred_url":"https://api.github.com/users/hasadna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasadna/subscriptions","organizations_url":"https://api.github.com/users/hasadna/orgs","repos_url":"https://api.github.com/users/hasadna/repos","events_url":"https://api.github.com/users/hasadna/events{/privacy}","received_events_url":"https://api.github.com/users/hasadna/received_events","type":"Organization","site_admin":false},"repo":{"id":15057515,"name":"anyway","full_name":"hasadna/anyway","owner":{"login":"hasadna","id":503639,"avatar_url":"https://avatars.githubusercontent.com/u/503639?v=3","gravatar_id":"","url":"https://api.github.com/users/hasadna","html_url":"https://github.com/hasadna","followers_url":"https://api.github.com/users/hasadna/followers","following_url":"https://api.github.com/users/hasadna/following{/other_user}","gists_url":"https://api.github.com/users/hasadna/gists{/gist_id}","starred_url":"https://api.github.com/users/hasadna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasadna/subscriptions","organizations_url":"https://api.github.com/users/hasadna/orgs","repos_url":"https://api.github.com/users/hasadna/repos","events_url":"https://api.github.com/users/hasadna/events{/privacy}","received_events_url":"https://api.github.com/users/hasadna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasadna/anyway","description":"ANYWAY - Car accidents map","fork":true,"url":"https://api.github.com/repos/hasadna/anyway","forks_url":"https://api.github.com/repos/hasadna/anyway/forks","keys_url":"https://api.github.com/repos/hasadna/anyway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasadna/anyway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasadna/anyway/teams","hooks_url":"https://api.github.com/repos/hasadna/anyway/hooks","issue_events_url":"https://api.github.com/repos/hasadna/anyway/issues/events{/number}","events_url":"https://api.github.com/repos/hasadna/anyway/events","assignees_url":"https://api.github.com/repos/hasadna/anyway/assignees{/user}","branches_url":"https://api.github.com/repos/hasadna/anyway/branches{/branch}","tags_url":"https://api.github.com/repos/hasadna/anyway/tags","blobs_url":"https://api.github.com/repos/hasadna/anyway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasadna/anyway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasadna/anyway/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasadna/anyway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasadna/anyway/statuses/{sha}","languages_url":"https://api.github.com/repos/hasadna/anyway/languages","stargazers_url":"https://api.github.com/repos/hasadna/anyway/stargazers","contributors_url":"https://api.github.com/repos/hasadna/anyway/contributors","subscribers_url":"https://api.github.com/repos/hasadna/anyway/subscribers","subscription_url":"https://api.github.com/repos/hasadna/anyway/subscription","commits_url":"https://api.github.com/repos/hasadna/anyway/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasadna/anyway/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasadna/anyway/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasadna/anyway/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasadna/anyway/contents/{+path}","compare_url":"https://api.github.com/repos/hasadna/anyway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasadna/anyway/merges","archive_url":"https://api.github.com/repos/hasadna/anyway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasadna/anyway/downloads","issues_url":"https://api.github.com/repos/hasadna/anyway/issues{/number}","pulls_url":"https://api.github.com/repos/hasadna/anyway/pulls{/number}","milestones_url":"https://api.github.com/repos/hasadna/anyway/milestones{/number}","notifications_url":"https://api.github.com/repos/hasadna/anyway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasadna/anyway/labels{/name}","releases_url":"https://api.github.com/repos/hasadna/anyway/releases{/id}","created_at":"2013-12-09T19:57:13Z","updated_at":"2015-07-13T18:54:21Z","pushed_at":"2015-08-19T16:29:33Z","git_url":"git://github.com/hasadna/anyway.git","ssh_url":"git@github.com:hasadna/anyway.git","clone_url":"https://github.com/hasadna/anyway.git","svn_url":"https://github.com/hasadna/anyway","homepage":"http://www.anyway.co.il","size":22895,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":50,"forks":48,"open_issues":50,"watchers":12,"default_branch":"dev"}},"base":{"label":"hasadna:dev","ref":"dev","sha":"098b6b25b7a3661bf83336791a275bb9b192dde0","user":{"login":"hasadna","id":503639,"avatar_url":"https://avatars.githubusercontent.com/u/503639?v=3","gravatar_id":"","url":"https://api.github.com/users/hasadna","html_url":"https://github.com/hasadna","followers_url":"https://api.github.com/users/hasadna/followers","following_url":"https://api.github.com/users/hasadna/following{/other_user}","gists_url":"https://api.github.com/users/hasadna/gists{/gist_id}","starred_url":"https://api.github.com/users/hasadna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasadna/subscriptions","organizations_url":"https://api.github.com/users/hasadna/orgs","repos_url":"https://api.github.com/users/hasadna/repos","events_url":"https://api.github.com/users/hasadna/events{/privacy}","received_events_url":"https://api.github.com/users/hasadna/received_events","type":"Organization","site_admin":false},"repo":{"id":15057515,"name":"anyway","full_name":"hasadna/anyway","owner":{"login":"hasadna","id":503639,"avatar_url":"https://avatars.githubusercontent.com/u/503639?v=3","gravatar_id":"","url":"https://api.github.com/users/hasadna","html_url":"https://github.com/hasadna","followers_url":"https://api.github.com/users/hasadna/followers","following_url":"https://api.github.com/users/hasadna/following{/other_user}","gists_url":"https://api.github.com/users/hasadna/gists{/gist_id}","starred_url":"https://api.github.com/users/hasadna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasadna/subscriptions","organizations_url":"https://api.github.com/users/hasadna/orgs","repos_url":"https://api.github.com/users/hasadna/repos","events_url":"https://api.github.com/users/hasadna/events{/privacy}","received_events_url":"https://api.github.com/users/hasadna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasadna/anyway","description":"ANYWAY - Car accidents map","fork":true,"url":"https://api.github.com/repos/hasadna/anyway","forks_url":"https://api.github.com/repos/hasadna/anyway/forks","keys_url":"https://api.github.com/repos/hasadna/anyway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasadna/anyway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasadna/anyway/teams","hooks_url":"https://api.github.com/repos/hasadna/anyway/hooks","issue_events_url":"https://api.github.com/repos/hasadna/anyway/issues/events{/number}","events_url":"https://api.github.com/repos/hasadna/anyway/events","assignees_url":"https://api.github.com/repos/hasadna/anyway/assignees{/user}","branches_url":"https://api.github.com/repos/hasadna/anyway/branches{/branch}","tags_url":"https://api.github.com/repos/hasadna/anyway/tags","blobs_url":"https://api.github.com/repos/hasadna/anyway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasadna/anyway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasadna/anyway/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasadna/anyway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasadna/anyway/statuses/{sha}","languages_url":"https://api.github.com/repos/hasadna/anyway/languages","stargazers_url":"https://api.github.com/repos/hasadna/anyway/stargazers","contributors_url":"https://api.github.com/repos/hasadna/anyway/contributors","subscribers_url":"https://api.github.com/repos/hasadna/anyway/subscribers","subscription_url":"https://api.github.com/repos/hasadna/anyway/subscription","commits_url":"https://api.github.com/repos/hasadna/anyway/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasadna/anyway/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasadna/anyway/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasadna/anyway/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasadna/anyway/contents/{+path}","compare_url":"https://api.github.com/repos/hasadna/anyway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasadna/anyway/merges","archive_url":"https://api.github.com/repos/hasadna/anyway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasadna/anyway/downloads","issues_url":"https://api.github.com/repos/hasadna/anyway/issues{/number}","pulls_url":"https://api.github.com/repos/hasadna/anyway/pulls{/number}","milestones_url":"https://api.github.com/repos/hasadna/anyway/milestones{/number}","notifications_url":"https://api.github.com/repos/hasadna/anyway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasadna/anyway/labels{/name}","releases_url":"https://api.github.com/repos/hasadna/anyway/releases{/id}","created_at":"2013-12-09T19:57:13Z","updated_at":"2015-07-13T18:54:21Z","pushed_at":"2015-08-19T16:29:33Z","git_url":"git://github.com/hasadna/anyway.git","ssh_url":"git@github.com:hasadna/anyway.git","clone_url":"https://github.com/hasadna/anyway.git","svn_url":"https://github.com/hasadna/anyway","homepage":"http://www.anyway.co.il","size":22895,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":50,"forks":48,"open_issues":50,"watchers":12,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/412"},"html":{"href":"https://github.com/hasadna/anyway/pull/412"},"issue":{"href":"https://api.github.com/repos/hasadna/anyway/issues/412"},"comments":{"href":"https://api.github.com/repos/hasadna/anyway/issues/412/comments"},"review_comments":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/412/comments"},"review_comment":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/412/commits"},"statuses":{"href":"https://api.github.com/repos/hasadna/anyway/statuses/50e49492ade98af40eecfe578301c6ea6f86cd2a"}}}}