Merge pull request #266 from brarcher/fix-sorting

Sort card list case insensitive
This commit is contained in:
Branden Archer
2018-09-15 23:04:35 -04:00
committed by GitHub

View File

@@ -148,7 +148,7 @@ public class DBHelper extends SQLiteOpenHelper
{
SQLiteDatabase db = getReadableDatabase();
Cursor res = db.rawQuery("select * from " + LoyaltyCardDbIds.TABLE +
" ORDER BY " + LoyaltyCardDbIds.STORE, null);
" ORDER BY " + LoyaltyCardDbIds.STORE + " COLLATE NOCASE ASC", null);
return res;
}