mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Sort contacts case-insentively
This fixes the case sensitive ordering of contacts in the view for creating new conversations. Fix #1502
This commit is contained in:
parent
8713a85beb
commit
92fd8ededd
@ -57,7 +57,7 @@ public class ContactsDatabase {
|
|||||||
public static final String TYPE_COLUMN = "type";
|
public static final String TYPE_COLUMN = "type";
|
||||||
|
|
||||||
private static final String FILTER_SELECTION = NAME_COLUMN + " LIKE ? OR " + NUMBER_COLUMN + " LIKE ?";
|
private static final String FILTER_SELECTION = NAME_COLUMN + " LIKE ? OR " + NUMBER_COLUMN + " LIKE ?";
|
||||||
private static final String CONTACT_LIST_SORT = NAME_COLUMN + " ASC";
|
private static final String CONTACT_LIST_SORT = NAME_COLUMN + " COLLATE NOCASE ASC";
|
||||||
private static final String[] ANDROID_PROJECTION = new String[]{ID_COLUMN,
|
private static final String[] ANDROID_PROJECTION = new String[]{ID_COLUMN,
|
||||||
NAME_COLUMN,
|
NAME_COLUMN,
|
||||||
NUMBER_TYPE_COLUMN,
|
NUMBER_TYPE_COLUMN,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user