From 6345f99aa047e1d240c35d7a926d7add9a85728e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 30 Jan 2023 12:01:40 +0100 Subject: [PATCH] web/elements: fix clashing page url param Signed-off-by: Jens Langhammer --- web/src/elements/table/Table.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/elements/table/Table.ts b/web/src/elements/table/Table.ts index b7120814b..7d41ad1c4 100644 --- a/web/src/elements/table/Table.ts +++ b/web/src/elements/table/Table.ts @@ -119,7 +119,7 @@ export abstract class Table extends AKElement { data?: PaginatedResponse; @property({ type: Number }) - page = getURLParam("page", 1); + page = getURLParam("tablePage", 1); @property({ type: String }) order?: string; @@ -426,7 +426,7 @@ export abstract class Table extends AKElement { .pages=${this.data?.pagination} .pageChangeHandler=${(page: number) => { this.page = page; - updateURLParams({ page: page }); + updateURLParams({ tablePage: page }); this.fetch(); }} >