]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fix looking up old transactions with non-ASCII names (broken in 0.18.0)
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 8 Jun 2021 20:26:14 +0000 (23:26 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 8 Jun 2021 20:26:14 +0000 (23:26 +0300)
according to the documentation, SQLite's NOCASE collation affects only
ASCII characters. Unicode is explicitly mentioned as not supported.
Strangely Unicode still works on some Android versions/variants, but not
on others.

This change stops relying on NOCASE collation and puts back upper case
variant of transaction description in a new column, which is then used
when looking up previous transactions for auto-completion


No differences found