[COMMENTING-30] Sort doesn't work correctly Created: 09/May/22  Updated: 10/Mar/23  Resolved: 10/Mar/23

Status: Closed
Project: Commenting
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.2

Type: Bug Priority: Neutral
Reporter: Alberto Cordero Assignee: Teresa Miyar
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

When I'm trying to order the request like: 

https://author.sales-demo-integration.eu-playground.magnolia-platform.com/.rest/commenting/v1/comments/stories/86aa216a-20d5-482c-a707-5dca49ab7f2d?sort=created:desc

 

It doesn't work. In the documentation, the example is like I've done, but it's exposed as integer:

https://docs.magnolia-cms.com/commenting-api/index.html#tag/workspace/operation/workspaceComments

 

Could you take a look? Thanks.



 Comments   
Comment by Teresa Miyar [ 10/May/22 ]

Sort parameter in the url “sort=created:desc” should be “sort=created desc”

Generated at Mon Feb 12 00:01:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.