Skip to content

Backport: Fix getTabFromRoute erroneously considering URL query params#1601

Merged
nscuro merged 1 commit into
DependencyTrack:5.0.xfrom
nscuro:backport-pr-1592
Jun 12, 2026
Merged

Backport: Fix getTabFromRoute erroneously considering URL query params#1601
nscuro merged 1 commit into
DependencyTrack:5.0.xfrom
nscuro:backport-pr-1592

Conversation

@nscuro

@nscuro nscuro commented Jun 12, 2026

Copy link
Copy Markdown
Member

Description

Fix getTabFromRoute erroneously considering URL query params.

Addressed Issue

Backports #1592

Additional Details

Some views "persist" search parameters in the URL query, while simultaneously watching the URL for which tab to show. The latter erroneously considered URL query params, such that typing in a search field would cause getTabFromRoute to yield no existing tab, which then caused the view to "snap" back to the default tab.

Checklist

Some views "persist" search parameters in the URL query, while simultaneously watching the URL for which tab to show. The latter erroneously considered URL query params, such that typing in a search field would cause `getTabFromRoute` to yield no existing tab, which then caused the view to "snap" back to the default tab.

Signed-off-by: nscuro <nscuro@protonmail.com>
(cherry picked from commit 068e9ea)
@nscuro nscuro added this to the 5.0.1 milestone Jun 12, 2026
@nscuro nscuro added the defect Something isn't working label Jun 12, 2026
@owasp-dt-bot

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@nscuro nscuro changed the base branch from main to 5.0.x June 12, 2026 11:42
@nscuro nscuro merged commit c5d90dd into DependencyTrack:5.0.x Jun 12, 2026
10 checks passed
@nscuro nscuro deleted the backport-pr-1592 branch June 12, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

defect Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants