james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Tellier (Jira)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-3417) Email/query sort by size/from/to/subject
Date Thu, 08 Oct 2020 02:54:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-3417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209960#comment-17209960
] 

Benoit Tellier commented on JAMES-3417:
---------------------------------------

We will likely not be working on this on the short term, community members should feel free
to work on 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
>
> === 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


Mime
View raw message