From 67d7515b57875239abeef6d7a7243e817e3314e9 Mon Sep 17 00:00:00 2001 From: dankl Date: Sun, 27 Oct 2019 22:04:39 +0100 Subject: [PATCH] Fixed sorting booked transactions search result --- .../banking/fints4java/android/ui/MainWindowPresenter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/MainWindowPresenter.kt b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/MainWindowPresenter.kt index 2a7c17bc..2311d331 100644 --- a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/MainWindowPresenter.kt +++ b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/MainWindowPresenter.kt @@ -109,7 +109,7 @@ open class MainWindowPresenter(callback: FinTsClientCallback) { it.otherPartyName?.toLowerCase()?.contains(queryLowercase) == true || it.usage.toLowerCase().contains(queryLowercase) || it.bookingText?.toLowerCase()?.contains(queryLowercase) == true - } + }.sortedByDescending { it.bookingDate } }