From adba14f6e77270e0b6d702fed7cc8d5a7672d200 Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Wed, 6 May 2026 13:49:43 +0200 Subject: [PATCH] avoiding search when search string is empty --- public/js/components/searchbar/searchbar.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/js/components/searchbar/searchbar.js b/public/js/components/searchbar/searchbar.js index 868a355cd..e865d525e 100644 --- a/public/js/components/searchbar/searchbar.js +++ b/public/js/components/searchbar/searchbar.js @@ -364,6 +364,9 @@ export default { } if (this.abortController) this.abortController.abort(); + + if (!this.searchsettings.searchstr?.length) return; + this.abortController = new AbortController(); this.searchfunction(this.searchsettings, {