mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-27 09:46:50 +03:00
Fixed sort
This commit is contained in:
parent
fdf0adb5b8
commit
b4eaefd6d4
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ public class NotesDatabase extends AbstractNotesDatabase {
|
|||
String order = category == null ? default_order : key_category + ", " + key_title;
|
||||
// TODO: modify here, need to test
|
||||
if (sortingMethod != null) {
|
||||
order = sortingMethod.getSorder();
|
||||
order = key_favorite + " DESC," + sortingMethod.getSorder();
|
||||
}
|
||||
return getNotesCustom(accountId, TextUtils.join(" AND ", where), args.toArray(new String[]{}), order, true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue