Skip to content

JAMES-3440 EmailQueryView support for sort by receivedAt - #710

Merged
chibenwa merged 3 commits into
apache:masterfrom
chibenwa:JAMES-3440-receivedAt
Oct 27, 2021
Merged

JAMES-3440 EmailQueryView support for sort by receivedAt#710
chibenwa merged 3 commits into
apache:masterfrom
chibenwa:JAMES-3440-receivedAt

Conversation

@chibenwa

Copy link
Copy Markdown
Contributor

Sample JMAP requests:

["Email/query",
{
  "accountId": "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
  "filter: {
      "inMailbox":"abcd"
  }
  "sort": [{
    "property":"sentAt",
    "isAscending": false
  }]
},
"c1"]

And

["Email/query",
{
  "accountId": "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
  "filter: {
      "inMailbox":"abcd"
  }
  "sort": [{
    "property":"receivedAt",
    "isAscending": false
  }]
},
"c1"]

@chibenwa chibenwa self-assigned this Oct 25, 2021
Sample JMAP requests:

```
["Email/query",
{
  "accountId": "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
  "filter: {
     "inMailbox":"abcd"
  }
  "sort": [{
    "property":"sentAt",
    "isAscending": false
  }]
},
"c1"]
```

And

```
["Email/query",
{
  "accountId": "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
  "filter: {
      "inMailbox":"abcd",
      "after":"aDate"
  }
  "sort": [{
    "property":"receivedAt",
    "isAscending": false
  }]
},
"c1"]
```
@chibenwa
chibenwa force-pushed the JAMES-3440-receivedAt branch from e534f33 to e41d9c4 Compare October 26, 2021 02:28
@chibenwa
chibenwa merged commit 1367ff1 into apache:master Oct 27, 2021
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 this pull request may close these issues.

2 participants