diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index 7bff876..0ffc162 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -484,6 +484,7 @@ window._wsInitData = (function() { currentFolder: {{ current_folder_id }}, searchQuery: '', filterType: '', + filterOpen: false, editingPath: false, folderStack: [], @@ -1629,11 +1630,10 @@ window._wsInitData = (function() { var q = (this.searchQuery || '').toLowerCase().trim(); var ft = this.filterType || ''; if (!q && !ft && !this.tagFilter) { this.displayTree = [...this.tree]; this.showAll = false; this._computeFilteredTableItems(); return; } + // Apply all filters (search + type + tag) to tree view + this.displayTree = this._filterTree([...this.tree], q, ft); if (this.tagFilter) { - // Filter tree by tag - this.displayTree = this._filterTreeByTag([...this.tree], this.tagFilter); - } else { - this.displayTree = [...this.tree]; + this.displayTree = this._filterTreeByTag(this.displayTree, this.tagFilter); } this._computeFilteredTableItems(); }, @@ -2309,6 +2309,23 @@ console.log('FLOWDECK v2.4.6 — IIFE done, _wsInitData keys:', Object.keys(wind
Newest
+ +
+ +
+
File type
+
{{ fd_icon("folder",14) }} Folders
+
{{ fd_icon("file",14) }} Pages
+
{{ fd_icon("file",14) }} PDF
+
{{ fd_icon("image",14) }} Images
+
{{ fd_icon("file",14) }} Code
+
{{ fd_icon("file",14) }} Text
+
+
{{ fd_icon("x",14) }} Clear filter
+
+
- -
- - -
+ +
- clear + clear filter
+ +
+