[MGNLUI-3543] Enable sorting in security app Created: 03/Sep/15  Updated: 03/Nov/15  Resolved: 07/Sep/15

Status: Closed
Project: Magnolia UI
Component/s: security app
Affects Version/s: 5.3.10, 5.4.1
Fix Version/s: 5.3.11, 5.4.2

Type: Improvement Priority: Neutral
Reporter: Richard Gange Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: apps, support
Remaining Estimate: 0d
Time Spent: 1h
Original Estimate: Not Specified

Issue Links:
Relates
dependency
depends upon MGNLUI-3326 Support sorting by column in trees Closed
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)
Date of First Response:
Sprint: Kromeriz 9
Story Points: 3

 Description   

The solution of this issue should aim for adding tree-sorting capabilities to the Security app only. However, I propose that the feature is implemented for a generic content app, but by disabled default (except for Security app of course), then a proper solution for MGNLUI-3326 lands we will unlock the feature for all the JCR-based content apps by default.



 Comments   
Comment by Roman Kovařík [ 07/Sep/15 ]

Please when integrating:

  • Use assertEquals instead of assertTrue(paths.get(i++).equals(node.getPath()));
  • use property matcher: assertTrue(session.propertyExists("/modules/security-app/apps/security/subApps/users/workbench/contentViews/tree/sortable"));
Comment by Philip Mundt [ 07/Sep/15 ]

DeltaBuilder task on master has wrong version number!

Comment by Jaroslav Simak [ 08/Sep/15 ]

To enable sorting, you have to add new property called sortable under the tree content view (for example /modules/security-app/apps/security/subApps/users/workbench/contentViews/tree@sortable=true.
Sorting is disabled by default in the tree content view definition and is enabled for security app only (for all user apps, not roles and groups apps).
If enabled, you can click on the header to sort alphabetically per column.

Generated at Mon Feb 12 09:07:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.