Commit ece8fcee67c52e8aee53f7b90ea30da538b6173f
1 parent
72374979
UI: fixed text search include reserved characters
Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -108,7 +108,8 @@ export class PageLink { |
108 | 108 | public toQuery(): string { |
109 | 109 | let query = `?pageSize=${this.pageSize}&page=${this.page}`; |
110 | 110 | if (this.textSearch && this.textSearch.length) { |
111 | - query += `&textSearch=${this.textSearch}`; | |
111 | + const textSearch = encodeURIComponent(this.textSearch); | |
112 | + query += `&textSearch=${textSearch}`; | |
112 | 113 | } |
113 | 114 | if (this.sortOrder) { |
114 | 115 | query += `&sortProperty=${this.sortOrder.property}&sortOrder=${this.sortOrder.direction}`; | ... | ... |