From: Damyan Ivanov Date: Thu, 18 Nov 2021 21:29:19 +0000 (+0200) Subject: Transaction: when copying, use proper descriptionUpper member X-Git-Tag: v0.20.4~3 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=c38d5422f4450ccf94677a5e7931ad70e1bffb37;p=mobile-ledger.git Transaction: when copying, use proper descriptionUpper member wasn't filled previously leading to bad search results --- diff --git a/app/src/main/java/net/ktnx/mobileledger/db/Transaction.java b/app/src/main/java/net/ktnx/mobileledger/db/Transaction.java index 30395409..8b98f923 100644 --- a/app/src/main/java/net/ktnx/mobileledger/db/Transaction.java +++ b/app/src/main/java/net/ktnx/mobileledger/db/Transaction.java @@ -146,6 +146,7 @@ public class Transaction { month = o.month; day = o.day; description = o.description; + descriptionUpper = o.description.toUpperCase(); comment = o.comment; generation = o.generation; }