{"action":"created","issue":{"url":"https://api.github.com/repos/e-mission/e-mission-server/issues/354","repository_url":"https://api.github.com/repos/e-mission/e-mission-server","labels_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/354/comments","events_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/354/events","html_url":"https://github.com/e-mission/e-mission-server/issues/354","id":171508428,"number":354,"title":"trips are out of order in the timeline","user":{"login":"shankari","id":2423263,"avatar_url":"https://avatars.githubusercontent.com/u/2423263?v=3","gravatar_id":"","url":"https://api.github.com/users/shankari","html_url":"https://github.com/shankari","followers_url":"https://api.github.com/users/shankari/followers","following_url":"https://api.github.com/users/shankari/following{/other_user}","gists_url":"https://api.github.com/users/shankari/gists{/gist_id}","starred_url":"https://api.github.com/users/shankari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankari/subscriptions","organizations_url":"https://api.github.com/users/shankari/orgs","repos_url":"https://api.github.com/users/shankari/repos","events_url":"https://api.github.com/users/shankari/events{/privacy}","received_events_url":"https://api.github.com/users/shankari/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-16T20:23:00Z","updated_at":"2016-08-17T00:19:02Z","closed_at":null,"body":"see examples in https://github.com/e-mission/e-mission-server/issues/302#issuecomment-240219847\r\n\r\nThis may be a recent regression caused by trip segmentation changes."},"comment":{"url":"https://api.github.com/repos/e-mission/e-mission-server/issues/comments/240278952","html_url":"https://github.com/e-mission/e-mission-server/issues/354#issuecomment-240278952","issue_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/354","id":240278952,"user":{"login":"shankari","id":2423263,"avatar_url":"https://avatars.githubusercontent.com/u/2423263?v=3","gravatar_id":"","url":"https://api.github.com/users/shankari","html_url":"https://github.com/shankari","followers_url":"https://api.github.com/users/shankari/followers","following_url":"https://api.github.com/users/shankari/following{/other_user}","gists_url":"https://api.github.com/users/shankari/gists{/gist_id}","starred_url":"https://api.github.com/users/shankari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankari/subscriptions","organizations_url":"https://api.github.com/users/shankari/orgs","repos_url":"https://api.github.com/users/shankari/repos","events_url":"https://api.github.com/users/shankari/events{/privacy}","received_events_url":"https://api.github.com/users/shankari/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T00:19:02Z","updated_at":"2016-08-17T00:19:02Z","body":"Because we are sorting by data.enter_local_dt, which is currently a complex\r\ndocument, not a field. The fix is to replace it by the timestamp instead since\r\nfor sorting (as opposed to display) purposes, that is more guaranteed to be\r\nascending anyway.\r\n\r\n```\r\n2016-08-16 15:57:11,205:DEBUG:123145336041472:curr_query = {'$or': [{'metadata.key': 'analysis/cleaned_place'}], 'data.enter_local_dt.day': {'$lte': 3, '$gte': 3}, 'user_id': UUID('0763de67-f61e-3f5d-90e7-518e69793954'), 'data.enter_local_dt.month': {'$lte': 7, '$gte': 7}, 'data.enter_local_dt.year': {'$lte': 2016, '$gte': 2016}}, sort_key = data.enter_local_dt\r\n```"}}
{"actor":{"display_login":"shankari"}}