Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
=== 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 :
[[ "Email/query",{ "accountId": "ue150411c", "comparator" : { "property": "from", "isAscending": true } }, "0" ]]
=== 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
Attachments
Issue Links
- links to