UI: fixed text search include reserved characters
This commit is contained in:
parent
7237497946
commit
ece8fcee67
@ -108,7 +108,8 @@ export class PageLink {
|
||||
public toQuery(): string {
|
||||
let query = `?pageSize=${this.pageSize}&page=${this.page}`;
|
||||
if (this.textSearch && this.textSearch.length) {
|
||||
query += `&textSearch=${this.textSearch}`;
|
||||
const textSearch = encodeURIComponent(this.textSearch);
|
||||
query += `&textSearch=${textSearch}`;
|
||||
}
|
||||
if (this.sortOrder) {
|
||||
query += `&sortProperty=${this.sortOrder.property}&sortOrder=${this.sortOrder.direction}`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user