Skip to content
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

Email/Query Allow filter by date #3727

Closed
remk opened this issue Sep 1, 2020 · 1 comment
Closed

Email/Query Allow filter by date #3727

remk opened this issue Sep 1, 2020 · 1 comment
Assignees
Milestone

Comments

@remk
Copy link
Member

remk commented Sep 1, 2020

As an user i want to be able to select messages by reception date using the 'before' and 'after' filters.

Why

As an user i want to be able to select the mail in a mailbox like this :

[[ "Email/query",{
  "accountId": "ue150411c",
  "filter":  {
     "before":  "1994-11-05T13:15:30Z "
}
}, "0" ]]

HOW

  • accept the filters 'before' and 'after' in the filter condition from the request
  • filter the query with the provided date

DOD

  • write integration demonstrating that a user can filter its emails by reception date
@rouazana
Copy link

rouazana commented Sep 1, 2020

Here also be careful of the limits:

before: UTCDate The receivedAt date-time of the Email must be before this date-time to match the condition.
after: UTCDate The receivedAt date-time of the Email must be the same or after this date-time to match the condition.

before is exclusive, while after is inclusive.

@chibenwa chibenwa added this to the Sprint 2 milestone Sep 3, 2020
@remk remk self-assigned this Sep 15, 2020
@chibenwa chibenwa linked a pull request Sep 18, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants