Fixed sorting booked transactions search result
This commit is contained in:
parent
717e8f98f3
commit
67d7515b57
|
@ -109,7 +109,7 @@ open class MainWindowPresenter(callback: FinTsClientCallback) {
|
||||||
it.otherPartyName?.toLowerCase()?.contains(queryLowercase) == true
|
it.otherPartyName?.toLowerCase()?.contains(queryLowercase) == true
|
||||||
|| it.usage.toLowerCase().contains(queryLowercase)
|
|| it.usage.toLowerCase().contains(queryLowercase)
|
||||||
|| it.bookingText?.toLowerCase()?.contains(queryLowercase) == true
|
|| it.bookingText?.toLowerCase()?.contains(queryLowercase) == true
|
||||||
}
|
}.sortedByDescending { it.bookingDate }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue