diff --git a/web/src/elements/table/Table.ts b/web/src/elements/table/Table.ts index 9a92621eb..b7120814b 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 = 1; + page = getURLParam("page", 1); @property({ type: String }) order?: string; @@ -426,6 +426,7 @@ export abstract class Table extends AKElement { .pages=${this.data?.pagination} .pageChangeHandler=${(page: number) => { this.page = page; + updateURLParams({ page: page }); this.fetch(); }} >