Skip to content

Commit

Permalink
Merge pull request #468 from CinFree/master
Browse files Browse the repository at this point in the history
修复searchInput在包含&字符时,搜索框会显示转译结果,导致翻页出现错乱
  • Loading branch information
newpanjing authored Aug 28, 2023
2 parents ff15d75 + a64c675 commit 8dea8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simpleui/templates/admin/search_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
el: '#toolbar',
data: {
placeholder: '{% trans 'Search' %}{% autoescape off %}{% search_placeholder %}'{% endautoescape %},
searchInput: '{{ cl.query }}',
searchInput: '{{ cl.query | safe }}',
{% if cl.has_filters %}
{% for spec in cl.filter_specs %}
{% if spec.links %}
Expand Down

0 comments on commit 8dea8dd

Please sign in to comment.