Skip to content

Commit

Permalink
fix: ecsape search string (#23717) (#23719)
Browse files Browse the repository at this point in the history
[skip ci]

(cherry picked from commit 7027e8b)

Co-authored-by: Ankush Menat <ankush@frappe.io>
  • Loading branch information
mergify[bot] and ankush committed Dec 11, 2023
1 parent fc8d798 commit 6d670fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frappe/templates/includes/list/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h4 class="text-muted">{{ sub_title }}</h4>
</div>
{% else %}
<div class="website-list" data-doctype="{{ doctype }}"
data-txt="{{ txt or '[notxt]' | e }}">
data-txt="{{ txt|e or '[notxt]' }}">
<!-- {% if not hide_filters -%}
{% include "templates/includes/list/filters.html" %}
{%- endif %} -->
Expand Down
2 changes: 1 addition & 1 deletion frappe/templates/includes/list/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ frappe.ready(function() {
var btn = $(this);
var data = $.extend(frappe.utils.get_query_params(), {
doctype: "{{ doctype }}",
txt: "{{ txt or '' }}",
txt: "{{ txt|e or '' }}",
limit_start: next_start,
pathname: location.pathname,
});
Expand Down

0 comments on commit 6d670fd

Please sign in to comment.