aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 768fc77df24..3e61e50f75d 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1713,6 +1713,9 @@
if (OCA.Search.files) {
OCA.Search.files.setFileList(this);
}
+ if (OC.Search) {
+ OC.Search.clear();
+ }
},
/**
* Update UI based on the current selection