Commit ece8fcee67c52e8aee53f7b90ea30da538b6173f

Authored by Vladyslav_Prykhodko
1 parent 72374979

UI: fixed text search include reserved characters

... ... @@ -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}`;
... ...