[MGNLRESTUI-28] Disable sorting when jsondatasource is paginated Created: 04/Feb/20 Updated: 30/Apr/20 Resolved: 21/Apr/20 |
|
| Status: | Closed |
| Project: | Magnolia REST Client UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Christopher Zimmermann | Assignee: | Jorge Franco |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2.5h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| 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
|
||||||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Epic Link: | Declarative REST clients | ||||||||||||||||||||||||
| Sprint: | 6.2.1 Ramp-up 22 | ||||||||||||||||||||||||
| Story Points: | 8 | ||||||||||||||||||||||||
| Description |
|
In an app with a jsonDatasource with pagination declared:
Note that only the current "page" is sorted. Expected behaviour is that the full list is sorted and that list is scrolled back to the "first page". To reproduce:
Example: As I observed, the sorting is only capable for the items on-screen at that position, when slowly scroll down and scroll up the browser app, the order of items above and below are unchanged
|
| Comments |
| Comment by Christopher Zimmermann [ 04/Feb/20 ] |
|
We should document that sorting is not supported at present. Ideally sorting UI should be disabled by default if its a rest client App, AND PAGING IS ENABBLED - or otherwise developer must disable the sorting on each field manually, which is a pain. |
| Comment by Simon Lutz [ 09/Apr/20 ] |
|
Disable sorting by default unless a parameter for sorting is configured. |