Skip to content

TagSpaces is an offline, open source, document manager with tagging support

adding sorting by filename

Ilianb0187ee9585d
diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.js
index 8bcef419c..5ed4a2bc5 100644
--- a/data/ext/perspectiveList/perspectiveUI.js
+++ b/data/ext/perspectiveList/perspectiveUI.js
@@ -149,7 +149,8 @@ console.log("Loading UI for perspectiveList");
{ "sTitle": "Date Modified", "sClass": "fileTitle" },
{ "sTitle": "Path", "sClass": "fileTitle" },
{ "sTitle": "File Name", "sClass": "fileTitle" }
- ],
+ ],
+ "aaSorting": [[ 1, "asc" ]], // softing by filename
"aoColumnDefs": [
/* { // Title column
"mRender": function ( data, type, row ) {