Sort folders on display name

This commit is contained in:
M66B
2019-05-01 13:08:15 +02:00
parent b32a67bf34
commit ff09645b7c
7 changed files with 43 additions and 19 deletions

View File

@@ -124,10 +124,15 @@ public class EntityAccount extends EntityOrder implements Serializable {
}
@Override
String getSortTitle(Context context) {
String getSortKey(Context context) {
return name;
}
@Override
String[] getSortTitle(Context context) {
return new String[]{name, null};
}
public JSONObject toJSON() throws JSONException {
JSONObject json = new JSONObject();
json.put("id", id);