You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/04/09 12:19:00 UTC
[jira] [Closed] (JAMES-3417) Email/query sort by
size/from/to/subject
[ https://issues.apache.org/jira/browse/JAMES-3417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3417.
---------------------------------
Resolution: Fixed
https://github.com/apache/james-project/pull/364 contributed this
> Email/query sort by size/from/to/subject
> ----------------------------------------
>
> Key: JAMES-3417
> URL: https://issues.apache.org/jira/browse/JAMES-3417
> Project: James Server
> Issue Type: Sub-task
> Components: JMAP
> Reporter: Benoit Tellier
> Assignee: Antoine Duprat
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> === WHY
> With the new specifications as an user i want to be able to sort by 'size' and 'from', 'to' and 'subject' properties, like this :
> {code:java}
> [[ "Email/query",{
> "accountId": "ue150411c",
> "comparator" : {
> "property": "from",
> "isAscending": true
> }
> }, "0" ]]
> {code}
> === HOW
> - accept the 'size' value in the 'propertyField' of the sort field of the request.
> - accept the 'from' value in the 'propertyField' of the sort field of the request.
> - accept the 'to' value in the 'propertyField' of the sort field of the request.
> - accept the 'subject' value in the 'propertyField' of the sort field of the request.
> === DOD
> - write an integration test demonstrating the sorting of the result by 'size' in both ascending and descending order
> - write an integration test demonstrating the sorting of the result by 'from' in both ascending and descending order
> - write an integration test demonstrating the sorting of the result by 'to' in both ascending and descending order
> - write an integration test demonstrating the sorting of the result by 'subject' in both ascending and descending order
> - write an integration test demonstrating that a unsupportedSort method error is return in case of unknown collation
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org