mirror of
https://github.com/vinta/awesome-python.git
synced 2026-08-04 15:05:39 +00:00
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>
This commit is contained in:
parent
d7a7e68475
commit
57a5b432f6
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ if (backToTop) {
|
|||
(function () {
|
||||
const params = new URLSearchParams(location.search);
|
||||
const q = params.get("q");
|
||||
const filter = params.get("filter") || params.get("category") || params.get("group");
|
||||
const filter = params.get("filter");
|
||||
const sort = params.get("sort");
|
||||
const order = params.get("order");
|
||||
if (q && searchInput) searchInput.value = q;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue