Escape search query in list search. Closes #1471.

This commit is contained in:
Kailash Nadh 2023-08-27 14:35:30 +05:30
parent 16eeb9401e
commit 83c88d73d7

View file

@ -231,7 +231,7 @@ export default Vue.extend({
getLists() {
this.$api.queryLists({
page: this.queryParams.page,
query: this.queryParams.query,
query: this.queryParams.query.replace(/[^\p{L}\p{N}\s]/gu, ''),
order_by: this.queryParams.orderBy,
order: this.queryParams.order,
}).then((resp) => {