bug6242: noticed that MarkRolePanel's table is not getting sorted, small bug fix

This commit is contained in:
masha.kashirina
2026-05-01 15:54:20 +02:00
parent 9a0e58f765
commit 77cd6c4319
@@ -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());
}