Reserve the locale param, carry it on breadcrumbs, translate the permissions detail view
CI / full-gate (push) Successful in 2m38s

This commit is contained in:
2026-08-03 23:21:38 +02:00
parent 6440c543e5
commit b3df7084c4
13 changed files with 62 additions and 27 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ export function parseListQuery(url: URL | URLSearchParams | string, options: Lis
const sortParam = options.sortParam ?? "sort";
const pageParam = options.pageParam ?? "page";
const pageSizeParam = options.pageSizeParam ?? "pageSize";
const reserved = new Set([pageParam, pageSizeParam, qParam, sortParam]);
// `locale` is host-owned (README → Languages): every list link and both GET forms carry it, so
// without this it would arrive as a phantom filter on every localized list page.
const reserved = new Set([pageParam, pageSizeParam, qParam, sortParam, "locale"]);
const filters: Record<string, string[]> = {};
for (const key of new Set(params.keys())) {