mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-16 10:48:47 +00:00
bug6242: noticed that MarkRolePanel's table is not getting sorted, small bug fix
This commit is contained in:
+2
-2
@@ -217,8 +217,8 @@ public class MarkRolePanel extends FlowPanel implements FilterablePanelProvider<
|
||||
return markRole.getShortName();
|
||||
}
|
||||
};
|
||||
nameColumn.setSortable(true);
|
||||
sortHandler.setComparator(nameColumn, new Comparator<MarkRoleDTO>() {
|
||||
shortNameColumn.setSortable(true);
|
||||
sortHandler.setComparator(shortNameColumn, new Comparator<MarkRoleDTO>() {
|
||||
public int compare(MarkRoleDTO markRole1, MarkRoleDTO markRole2) {
|
||||
return markRole1.getShortName().compareTo(markRole2.getShortName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user