[
https://issues.apache.org/jira/browse/JAMES-3417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314894#comment-17314894
]
Benoit Tellier commented on JAMES-3417:
---------------------------------------
I did put together https://github.com/apache/james-project/pull/364 that
implements 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: 10m
> 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: [email protected]
For additional commands, e-mail: [email protected]