mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 03:59:22 +00:00
fix sorting of dispute state column
This commit is contained in:
parent
19398bb73e
commit
85acb8aeb3
1 changed files with 1 additions and 0 deletions
|
@ -927,6 +927,7 @@ public abstract class DisputeView extends ActivatableView<VBox, Void> implements
|
|||
buyerOnionAddressColumn.setComparator(Comparator.comparing(this::getBuyerOnionAddressColumnLabel));
|
||||
sellerOnionAddressColumn.setComparator(Comparator.comparing(this::getSellerOnionAddressColumnLabel));
|
||||
marketColumn.setComparator((o1, o2) -> CurrencyUtil.getCurrencyPair(o1.getContract().getOfferPayload().getCurrencyCode()).compareTo(o2.getContract().getOfferPayload().getCurrencyCode()));
|
||||
stateColumn.setComparator(Comparator.comparing(this::getDisputeStateText));
|
||||
|
||||
dateColumn.setSortType(TableColumn.SortType.DESCENDING);
|
||||
tableView.getSortOrder().add(dateColumn);
|
||||
|
|
Loading…
Reference in a new issue