mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Fix sorting
This commit is contained in:
parent
7b2f90cfd6
commit
5787ef8c1b
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ public class MarketsStatisticsView extends ActivatableViewAndModel<GridPane, Mar
|
|||
totalAmountColumn.setComparator((o1, o2) -> o1.totalAmount.compareTo(o2.totalAmount));
|
||||
spreadColumn.setComparator((o1, o2) -> o1.spread != null && o2.spread != null ? formatter.formatFiatWithCode(o1.spread).compareTo(formatter.formatFiatWithCode(o2.spread)) : 0);
|
||||
|
||||
numberOfOffersColumn.setSortType(TableColumn.SortType.DESCENDING);
|
||||
tableView.getSortOrder().add(numberOfOffersColumn);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue