Skip to content

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

excluding files in the .ts folders from the search results

uggrock9f53edd66c30
diff --git a/data/js/search.js b/data/js/search.js
index a11f3ef2d..866e378f1 100644
--- a/data/js/search.js
+++ b/data/js/search.js
@@ -90,6 +90,12 @@ define(function(require, exports, module) {
var searchIn = value[TSCORE.fileListFILENAME].toLowerCase();
var tags = value[TSCORE.fileListTAGS];
var result = true;
+
+ // Excluding fils from tagspacec meta folders
+ if (parentDir.indexOf(".ts") > 0 ) {
+ return false;
+ }
+
if (tags.length < 1 && includedTags.length > 0) {
return false;
}