-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Filters are not being applied correctly in Omnichannel Current Chats list #20320
[FIX] Filters are not being applied correctly in Omnichannel Current Chats list #20320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also:
The first request sent from the client when the Current Chats list is opened looks like this:
{"t":"l","$or":[{"servedBy._id":{"$in":[""]}},{"servedBy.username":{"$in":[""]}}],"open":{"$exists":false}}
After that, when I set the first date parameter(From), the server gets this:
{"t":"l"}
And when a set the last date parameter(To) the server gets this:
{"t":"l","ts":{"$gte":"2021-01-26T03:00:00.000Z","$lte":"2021-01-26T03:00:00.000Z"}}
So, it's clear it won't work properly. Can you fix this, @rafaelblink ?
Thanks.
@rafaelblink your PR didn't pass the tests. |
Proposed changes (including videos or screenshots)
After a few changes in previous releases,
Current Chats
page filter stopped working.Before
After
Issue(s)
Steps to test or reproduce
Further comments