Skip to content

Fix getTabFromRoute erroneously considering URL query params#1592

Merged
nscuro merged 1 commit into
DependencyTrack:mainfrom
nscuro:issue-1591
Jun 9, 2026
Merged

Fix getTabFromRoute erroneously considering URL query params#1592
nscuro merged 1 commit into
DependencyTrack:mainfrom
nscuro:issue-1591

Conversation

@nscuro

@nscuro nscuro commented Jun 9, 2026

Copy link
Copy Markdown
Member

Description

Fixes getTabFromRoute erroneously considering URL query params.

Addressed Issue

Fixes #1591

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>
@nscuro nscuro added this to the 5.1 milestone Jun 9, 2026
@nscuro nscuro added defect Something isn't working backport/5.0.1 PRs to be backported to version 4.13.2 labels Jun 9, 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 merged commit c6a26c0 into DependencyTrack:main Jun 9, 2026
9 checks passed
@nscuro nscuro deleted the issue-1591 branch June 9, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/5.0.1 PRs to be backported to version 4.13.2 defect Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search in Collection Projects redirects to Overview tab

2 participants