summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-03-15 15:05:15 +0100
committerGitHub <noreply@github.com>2017-03-15 15:05:15 +0100
commit5ed45fc8e60bd9f63398d2bbe25bf63b26b2010e (patch)
tree219ca2d7e06c6bdc362899d026012af0e1f4853b /core
parent5a998da206daa04dce39519a67d2a13637f874e2 (diff)
parent0fe45966a0bc1ef4d1c668b82d6aa06c7be300fe (diff)
downloadnextcloud-server-5ed45fc8e60bd9f63398d2bbe25bf63b26b2010e.tar.gz
nextcloud-server-5ed45fc8e60bd9f63398d2bbe25bf63b26b2010e.zip
Merge pull request #3848 from nextcloud/remove-single-quotes-around-search-query
Remove single quotes around search query like in user search
Diffstat (limited to 'core')
-rw-r--r--core/search/js/search.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/search/js/search.js b/core/search/js/search.js
index 44a69842374..b4175c49a3e 100644
--- a/core/search/js/search.js
+++ b/core/search/js/search.js
@@ -216,9 +216,9 @@
if (count === 0) {
$status.addClass('emptycontent').removeClass('status');
$status.html('');
- $status.append('<div class="icon-search"></div>');
- var error = t('core', "No search results in other folders for '{tag}{filter}{endtag}'", {filter:lastQuery});
- $status.append('<h2>' + error.replace('{tag}', '<strong>').replace('{endtag}', '</strong>') + '</h2>');
+ $status.append($('<div>').addClass('icon-search'));
+ var error = t('core', 'No search results in other folders for {tag}{filter}{endtag}', {filter:lastQuery});
+ $status.append($('<h2>').html(error.replace('{tag}', '<strong>').replace('{endtag}', '</strong>')));
} 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}));