Support filter for "open"

This commit is contained in:
Manfred Karrer 2017-03-22 13:31:06 -05:00
parent 6283255b21
commit 6733c064b9

View File

@ -59,6 +59,7 @@ public class ArbitratorDisputeView extends TraderDisputeView {
dispute.getArbitratorPubKeyRing().equals(keyRing.getPubKeyRing()) &&
(filterString.isEmpty() ||
(dispute.getId().contains(filterString) ||
(!dispute.isClosed() && filterString.toLowerCase().equals("open")) ||
formatter.formatDate(dispute.getOpeningDate()).contains(filterString)) ||
getBuyerOnionAddressColumnLabel(dispute).contains(filterString) ||
getSellerOnionAddressColumnLabel(dispute).contains(filterString)