Skip to content

Commit 57a5b43

Browse files
vintaclaude
andcommitted
fix(js): drop legacy category/group URL param aliases for filter
Only the canonical 'filter' query param is supported. The 'category' and 'group' aliases were never documented and silently accepted wrong spellings; removing them prevents hidden coupling to old URL shapes. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d7a7e68 commit 57a5b43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/static/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ if (backToTop) {
407407
(function () {
408408
const params = new URLSearchParams(location.search);
409409
const q = params.get("q");
410-
const filter = params.get("filter") || params.get("category") || params.get("group");
410+
const filter = params.get("filter");
411411
const sort = params.get("sort");
412412
const order = params.get("order");
413413
if (q && searchInput) searchInput.value = q;

0 commit comments

Comments
 (0)