{"action":"created","issue":{"url":"https://api.github.com/repos/gisaia/ARLAS-server/issues/83","repository_url":"https://api.github.com/repos/gisaia/ARLAS-server","labels_url":"https://api.github.com/repos/gisaia/ARLAS-server/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/gisaia/ARLAS-server/issues/83/comments","events_url":"https://api.github.com/repos/gisaia/ARLAS-server/issues/83/events","html_url":"https://github.com/gisaia/ARLAS-server/issues/83","id":294656931,"number":83,"title":"Filter before/after produces incorrect ES query","user":{"login":"elouanKeryell-Even","id":9483289,"avatar_url":"https://avatars2.githubusercontent.com/u/9483289?v=4","gravatar_id":"","url":"https://api.github.com/users/elouanKeryell-Even","html_url":"https://github.com/elouanKeryell-Even","followers_url":"https://api.github.com/users/elouanKeryell-Even/followers","following_url":"https://api.github.com/users/elouanKeryell-Even/following{/other_user}","gists_url":"https://api.github.com/users/elouanKeryell-Even/gists{/gist_id}","starred_url":"https://api.github.com/users/elouanKeryell-Even/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elouanKeryell-Even/subscriptions","organizations_url":"https://api.github.com/users/elouanKeryell-Even/orgs","repos_url":"https://api.github.com/users/elouanKeryell-Even/repos","events_url":"https://api.github.com/users/elouanKeryell-Even/events{/privacy}","received_events_url":"https://api.github.com/users/elouanKeryell-Even/received_events","type":"User","site_admin":false},"labels":[{"id":827469203,"url":"https://api.github.com/repos/gisaia/ARLAS-server/labels/Doing","name":"Doing","color":"5CB85C","default":false},{"id":827436108,"url":"https://api.github.com/repos/gisaia/ARLAS-server/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"sfalquier","id":1308867,"avatar_url":"https://avatars3.githubusercontent.com/u/1308867?v=4","gravatar_id":"","url":"https://api.github.com/users/sfalquier","html_url":"https://github.com/sfalquier","followers_url":"https://api.github.com/users/sfalquier/followers","following_url":"https://api.github.com/users/sfalquier/following{/other_user}","gists_url":"https://api.github.com/users/sfalquier/gists{/gist_id}","starred_url":"https://api.github.com/users/sfalquier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfalquier/subscriptions","organizations_url":"https://api.github.com/users/sfalquier/orgs","repos_url":"https://api.github.com/users/sfalquier/repos","events_url":"https://api.github.com/users/sfalquier/events{/privacy}","received_events_url":"https://api.github.com/users/sfalquier/received_events","type":"User","site_admin":false},"assignees":[{"login":"sfalquier","id":1308867,"avatar_url":"https://avatars3.githubusercontent.com/u/1308867?v=4","gravatar_id":"","url":"https://api.github.com/users/sfalquier","html_url":"https://github.com/sfalquier","followers_url":"https://api.github.com/users/sfalquier/followers","following_url":"https://api.github.com/users/sfalquier/following{/other_user}","gists_url":"https://api.github.com/users/sfalquier/gists{/gist_id}","starred_url":"https://api.github.com/users/sfalquier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfalquier/subscriptions","organizations_url":"https://api.github.com/users/sfalquier/orgs","repos_url":"https://api.github.com/users/sfalquier/repos","events_url":"https://api.github.com/users/sfalquier/events{/privacy}","received_events_url":"https://api.github.com/users/sfalquier/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/gisaia/ARLAS-server/milestones/6","html_url":"https://github.com/gisaia/ARLAS-server/milestone/6","labels_url":"https://api.github.com/repos/gisaia/ARLAS-server/milestones/6/labels","id":3089229,"number":6,"title":"v1.5.6","description":"","creator":{"login":"elouanKeryell-Even","id":9483289,"avatar_url":"https://avatars2.githubusercontent.com/u/9483289?v=4","gravatar_id":"","url":"https://api.github.com/users/elouanKeryell-Even","html_url":"https://github.com/elouanKeryell-Even","followers_url":"https://api.github.com/users/elouanKeryell-Even/followers","following_url":"https://api.github.com/users/elouanKeryell-Even/following{/other_user}","gists_url":"https://api.github.com/users/elouanKeryell-Even/gists{/gist_id}","starred_url":"https://api.github.com/users/elouanKeryell-Even/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elouanKeryell-Even/subscriptions","organizations_url":"https://api.github.com/users/elouanKeryell-Even/orgs","repos_url":"https://api.github.com/users/elouanKeryell-Even/repos","events_url":"https://api.github.com/users/elouanKeryell-Even/events{/privacy}","received_events_url":"https://api.github.com/users/elouanKeryell-Even/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"closed","created_at":"2018-02-05T12:12:10Z","updated_at":"2018-02-06T07:25:31Z","due_on":"2017-08-06T07:00:00Z","closed_at":"2018-02-05T12:12:10Z"},"comments":3,"created_at":"2018-02-06T07:25:31Z","updated_at":"2018-02-06T07:30:57Z","closed_at":null,"author_association":"MEMBER","body":"In gitlab by @sylvaingaudan on Aug 4, 2017, 09:14\n\nFilter after=XXX produces a range query instead of a gte query:\n```json\n       { \n         \"range\" : { \n           \"centerViewingDateTime\" : { \n             \"from\" : XXX, \n             \"to\" : null, \n             \"include_lower\" : true, \n             \"include_upper\" : true, \n             \"boost\" : 1.0 \n           } \n         } \n       } \n```\nFilter before=YYY produces a range query instead of a lte query:\n```json\n      { \n         \"range\" : { \n           \"centerViewingDateTime\" : { \n             \"from\" : null, \n             \"to\" : YYY, \n             \"include_lower\" : true, \n             \"include_upper\" : true, \n             \"boost\" : 1.0 \n           } \n         } \n       }, \n```\n\nAnd a before=XXX&after=YYY filter produces a double range query instead of a single range query:\n```json\n\"filter\" : [ \n       { \n         \"range\" : { \n           \"centerViewingDateTime\" : { \n             \"from\" : null, \n             \"to\" : XXX, \n             \"include_lower\" : true, \n             \"include_upper\" : true, \n             \"boost\" : 1.0 \n           } \n         } \n       }, \n       { \n         \"range\" : { \n           \"centerViewingDateTime\" : { \n             \"from\" : YYY, \n             \"to\" : null, \n             \"include_lower\" : true, \n             \"include_upper\" : true, \n             \"boost\" : 1.0 \n           } \n         } \n       } \n     ]\n```"},"comment":{"url":"https://api.github.com/repos/gisaia/ARLAS-server/issues/comments/363334923","html_url":"https://github.com/gisaia/ARLAS-server/issues/83#issuecomment-363334923","issue_url":"https://api.github.com/repos/gisaia/ARLAS-server/issues/83","id":363334923,"user":{"login":"elouanKeryell-Even","id":9483289,"avatar_url":"https://avatars2.githubusercontent.com/u/9483289?v=4","gravatar_id":"","url":"https://api.github.com/users/elouanKeryell-Even","html_url":"https://github.com/elouanKeryell-Even","followers_url":"https://api.github.com/users/elouanKeryell-Even/followers","following_url":"https://api.github.com/users/elouanKeryell-Even/following{/other_user}","gists_url":"https://api.github.com/users/elouanKeryell-Even/gists{/gist_id}","starred_url":"https://api.github.com/users/elouanKeryell-Even/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elouanKeryell-Even/subscriptions","organizations_url":"https://api.github.com/users/elouanKeryell-Even/orgs","repos_url":"https://api.github.com/users/elouanKeryell-Even/repos","events_url":"https://api.github.com/users/elouanKeryell-Even/events{/privacy}","received_events_url":"https://api.github.com/users/elouanKeryell-Even/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T07:30:57Z","updated_at":"2018-02-06T07:30:57Z","author_association":"MEMBER","body":"In gitlab by @sfalquier on Aug 4, 2017, 10:52\n\nmentioned in commit d686695e5e513dae0a49fd03e7be5226b6f26547"}}
{"actor":{"display_login":"elouanKeryell-Even"}}