[MAGNOLIA-1374] Change the sort methods in the AbstractListModel ListComparator from private to protected Created: 13/Feb/07  Updated: 23/Jan/13  Resolved: 26/Feb/07

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: 3.0 Final
Fix Version/s: 3.0.2

Type: Improvement Priority: Major
Reporter: Ali Hammadi Assignee: Sameer Charles
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File AbstractListModel.patch    
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:

 Description   

It will be usefull to modify the sort and subsort methods of the ListComparator in the AbstractListModel class from private to protected. (Magnolia-gui)
Also, we could create a personnalized function for sorting lists.



 Comments   
Comment by Ali Hammadi [ 14/Feb/07 ]

This patch improves the flexibility of AbstractListModel. You can create your own comparator for you own listmodel.

Comment by Sameer Charles [ 26/Feb/07 ]

done

Comment by Magnolia International [ 01/Mar/07 ]

renamed getComparator to newComparator since it in fact instanciates a new Comparator and merged to trunk
thanks for the patch !

Generated at Mon Feb 12 03:26:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.