You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Fixed note order in RN
This commit is contained in:
@ -5,7 +5,14 @@ import { Log } from 'lib/log.js'
|
||||
class NotesScreenUtils {
|
||||
|
||||
static openNoteList(folderId) {
|
||||
return Note.previews(folderId).then((notes) => {
|
||||
const state = this.store.getState();
|
||||
|
||||
let options = {
|
||||
orderBy: state.notesOrder.orderBy,
|
||||
orderByDir: state.notesOrder.orderByDir,
|
||||
};
|
||||
|
||||
return Note.previews(folderId, options).then((notes) => {
|
||||
this.dispatch({
|
||||
type: 'NOTES_UPDATE_ALL',
|
||||
notes: notes,
|
||||
|
Reference in New Issue
Block a user