]> git.ktnx.net Git - mobile-ledger.git/commitdiff
Transaction: when copying, use proper descriptionUpper member
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Nov 2021 21:29:19 +0000 (23:29 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Nov 2021 21:29:19 +0000 (23:29 +0200)
wasn't filled previously leading to bad search results

app/src/main/java/net/ktnx/mobileledger/db/Transaction.java

index 30395409bdc1d7a270234f46a3430d7bc893be6a..8b98f923b65f1d698525f7f088f8a04a2b501499 100644 (file)
@@ -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;
     }