[UX Improvement] Removed uri encoding from search results on front end (#14266)
* removed uri encoding from search results on front end * decode search string using html2text
This commit is contained in:
parent
c37fd050c5
commit
d458f7710f
@ -10,7 +10,7 @@
|
||||
<script>
|
||||
frappe.ready(function() {
|
||||
var txt = frappe.utils.get_url_arg("search");
|
||||
$(".search-results").html("{{ _('Search results for') }}: " + encodeURIComponent(txt));
|
||||
$(".search-results").html('{{ _("Search results for") + ": " + html2text(frappe.form_dict.search or "")|trim }}');
|
||||
window.search = txt;
|
||||
window.start = 0;
|
||||
window.get_product_list();
|
||||
|
Loading…
x
Reference in New Issue
Block a user