summaryrefslogtreecommitdiffstats
path: root/core/search
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-05 13:48:50 +0200
committerJoas Schilling <coding@schilljs.com>2016-10-05 13:48:50 +0200
commit35a7a4f3136ab35fbc31a983c2207cf9ecdffb1d (patch)
treea0f7f88f6656f24160f88667791509013d695df4 /core/search
parenta45cfbc2d2754030510ac98607ca2cc53d750b57 (diff)
downloadnextcloud-server-35a7a4f3136ab35fbc31a983c2207cf9ecdffb1d.tar.gz
nextcloud-server-35a7a4f3136ab35fbc31a983c2207cf9ecdffb1d.zip
Use the correct query variable
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/search')
-rw-r--r--core/search/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/search/js/search.js b/core/search/js/search.js
index e75060479b6..559fbcf9adf 100644
--- a/core/search/js/search.js
+++ b/core/search/js/search.js
@@ -217,7 +217,7 @@
$status.addClass('emptycontent').removeClass('status');
$status.html('');
$status.append('<div class="icon-search"></div>');
- $status.append('<h2>' + t('core', 'No search results in other folders {filter}', {filter:this._filter}) + '</h2>');
+ $status.append('<h2>' + t('core', 'No search results in other folders {filter}', {filter:lastQuery}) + '</h2>');
} else {
$status.removeClass('emptycontent').addClass('status');
$status.text(n('core', '{count} search result in another folder', '{count} search results in other folders', count, {count:count}));