diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-05 13:48:50 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-10-05 13:48:50 +0200 |
commit | 35a7a4f3136ab35fbc31a983c2207cf9ecdffb1d (patch) | |
tree | a0f7f88f6656f24160f88667791509013d695df4 /core/search | |
parent | a45cfbc2d2754030510ac98607ca2cc53d750b57 (diff) | |
download | nextcloud-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.js | 2 |
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})); |