Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-09-20 13:16:58 +0300
committerGitHub <noreply@github.com>2022-09-20 13:16:58 +0300
commitd0668ce3b746ce150c9552878a49fbe856634e14 (patch)
tree83f2d5db0af9555ffb2cbe93f0b77f1c1c97f014 /core
parent93fc2ffc446005d83c9bc9f06fd78d7d621eef78 (diff)
parentf0cd60b21bd5d1a0d493dbe222743d3c3040bc98 (diff)
Merge pull request #34140 from nextcloud/fix/carl/clean-search-result-when-resetting
Clear search results when remove search query
Diffstat (limited to 'core')
-rw-r--r--core/src/views/UnifiedSearch.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue
index 5d0a2b62a22..60ef3ef0309 100644
--- a/core/src/views/UnifiedSearch.vue
+++ b/core/src/views/UnifiedSearch.vue
@@ -444,6 +444,9 @@ export default {
// Do not search if not long enough
if (this.query.trim() === '' || this.isShortQuery) {
+ for (const type of this.typesIDs) {
+ this.$delete(this.results, type)
+ }
return
}