Same root pattern as the already-filed chart click-to-filter bug (#29), different feature/file. assets/js/advanced-search.js:
populateCurrentFilters() (~lines 60-76) only reads search and status back out of the current URL into the form.
performAdvancedSearch() (~lines 79-122) then builds a brand-newURLSearchParams() from just the form fields and navigates to it.
Impact: Any active filter not represented in the advanced-search form (e.g. a category/type/host filter applied via a dashboard quick-filter pill or stats-widget click) is neither shown in the modal nor preserved on submit — it's silently dropped from the URL.
Repro: Apply a category filter via a stats widget, open Advanced Search, set only a search term, submit → category filter is gone.
Fix: Merge the advanced-search form's fields into the currentURLSearchParams (parsed from location.search) instead of constructing a fresh one — same fix approach as #29.
**Severity:** Medium
Same root pattern as the already-filed chart click-to-filter bug (#29), different feature/file. `assets/js/advanced-search.js`:
- `populateCurrentFilters()` (~lines 60-76) only reads `search` and `status` back out of the current URL into the form.
- `performAdvancedSearch()` (~lines 79-122) then builds a **brand-new** `URLSearchParams()` from just the form fields and navigates to it.
**Impact:** Any active filter not represented in the advanced-search form (e.g. a `category`/`type`/host filter applied via a dashboard quick-filter pill or stats-widget click) is neither shown in the modal nor preserved on submit — it's silently dropped from the URL.
**Repro:** Apply a category filter via a stats widget, open Advanced Search, set only a search term, submit → category filter is gone.
**Fix:** Merge the advanced-search form's fields into the *current* `URLSearchParams` (parsed from `location.search`) instead of constructing a fresh one — same fix approach as #29.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Severity: Medium
Same root pattern as the already-filed chart click-to-filter bug (#29), different feature/file.
assets/js/advanced-search.js:populateCurrentFilters()(~lines 60-76) only readssearchandstatusback out of the current URL into the form.performAdvancedSearch()(~lines 79-122) then builds a brand-newURLSearchParams()from just the form fields and navigates to it.Impact: Any active filter not represented in the advanced-search form (e.g. a
category/type/host filter applied via a dashboard quick-filter pill or stats-widget click) is neither shown in the modal nor preserved on submit — it's silently dropped from the URL.Repro: Apply a category filter via a stats widget, open Advanced Search, set only a search term, submit → category filter is gone.
Fix: Merge the advanced-search form's fields into the current
URLSearchParams(parsed fromlocation.search) instead of constructing a fresh one — same fix approach as #29.