Skip to content

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

fixing search issue

uggrock454ecf0817af
diff --git a/data/js/core.ui.js b/data/js/core.ui.js
index f7a226683..ef5468d8d 100644
--- a/data/js/core.ui.js
+++ b/data/js/core.ui.js
@@ -586,7 +586,7 @@ define(function(require, exports, module) {
} else {
TSCORE.Search.nextQuery = this.value;
}
- if (this.value.length <= 1) {
+ if (this.value.length === 0) {
TSCORE.Search.nextQuery = this.value;
$( "#clearFilterButton").removeClass("filterOn");
TSCORE.PerspectiveManager.redrawCurrentPerspective();