- install nuxeo
- install web ui
- create a workspace
- create several documents
- click the Switch to grid view button
- choose Title in the Sort By section
- click the arrow icon several times (please note there are 2 positions: either up or down but not unsorted)
- observe sometimes the order is wrong
- open the chrome inspector
- click the network tab
- replay the scenario
- observe there are 2 requests sent for each click (one with asc order and the other one with desc. For example:
currentPageIndex=0&offset=0&pageSize=9&sortBy=dc%3Atitle&sortOrder=asc&ecm_parentId=6f5cce60-1024-4091-9a28-cc6aae6f9885
and
currentPageIndex=0&offset=0&pageSize=10&sortBy=dc%3Atitle&sortOrder=desc&ecm_parentId=6f5cce60-1024-4091-9a28-cc6aae6f9885
Depending of the order in which they are processed the result is affected accordingly.
- please note sometimes both requests are using the same order so this may need several trials.
- click the Switch to table view button
- replay the same scenario (please note there are 3 positions: arrow up, arrow down and disabled)
- observe one request is sent per click
- is related to
-
ELEMENTS-833 Sort arrow for data grid and data list not consistent with table
- Resolved