[ https://issues.apache.org/jira/browse/JAMES-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier updated JAMES-3383: ---------------------------------- Parent: JAMES-2884 Issue Type: Sub-task (was: Improvement) > Email/Query expose allowed sort in accountCapabilities > ------------------------------------------------------ > > Key: JAMES-3383 > URL: https://issues.apache.org/jira/browse/JAMES-3383 > Project: James Server > Issue Type: Sub-task > Reporter: Nguyễn Việt Đức > Priority: Major > > # WHY > As a client i need to know what sort filters are supported by the server. > the list of field supported will be returned as an array of string in the > emailQuerySortOption field of the capabilities in the session object. > {code:java} > emailQuerySortOptions: String[] A list of all the values the server supports > for the “property” field of the Comparator object in an Email/query sort (see > Section 4.4.2). This MAY include properties the client does not recognise > (for example, custom properties specified in a vendor extension). Clients > MUST ignore any unknown properties in the list. > {code} > - The list of supported filters in this first implementation are : > {code:java} > receivedAt > size > from > to > subject > sentAt > hasKeyword > {code} > the following fields are not supported at the moment : > allInThreadHaveKeyword, someInThreadHaveKeyword > Because we don't support thread yet. > # HOW > - add the emailQuerySortOption fields to the supported capabilites > # DOD > - write an integration test validating that all the filter in the previous > list appears in the capabilities in the session object -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org