diff --git a/core/search/js/search.js b/core/search/js/search.js index e75060479b68b63066aa46e648849072d71ec19e..559fbcf9adf469b6ca4d6a6e7e64adcd7b3fefd3 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}));