TagSpaces is an offline, open source, document manager with tagging support
getprev and next iterate only over files
Ilian Sapundshiev54621c2cb1fe
diff --git a/app/reducers/app.js b/app/reducers/app.jsindex 00edb63eb..d9febb169 100644--- a/app/reducers/app.js+++ b/app/reducers/app.js@@ -982,7 +982,7 @@ export const actions = {dispatch: (actions: Object) => void,getState: () => Object) => {- const currentEntries = getState().app.currentDirectoryEntries;+ const currentEntries = getState().app.currentDirectoryEntries.filter(entry => entry.isFile);const lastSelectedEntry = getState().app.lastSelectedEntry;let filePath = pivotFilePath;if (!filePath) {@@ -1011,7 +1011,7 @@ export const actions = {dispatch: (actions: Object) => void,getState: () => Object) => {- const currentEntries = getState().app.currentDirectoryEntries;+ const currentEntries = getState().app.currentDirectoryEntries.filter(entry => entry.isFile);const lastSelectedEntry = getState().app.lastSelectedEntry;let filePath = pivotFilePath;if (!filePath) {