Use the correct query variable

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1606/head
Joas Schilling 9 years ago
parent a45cfbc2d2
commit 35a7a4f313
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
  1. 2
      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}));

Loading…
Cancel
Save