Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use unique fields for project list metrics columns #686

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

mykter
Copy link
Contributor

@mykter mykter commented Dec 21, 2023

Description

This PR makes the vulnerabilities and policy violations use unique field IDs in the bootstrap table spec. The docs say:

This field must be unique, or some unknown problems may occur.

The frontend also uses the field id to save which columns the user has marked as visible or not.

Addressed Issue

Fixes #608

Additional Details

Tested with vulnerabilities present and absent, and with policy violations absent or zero. I don't have a project handy that has any policy violations, but the behaviour shouldn't change based on >0 vs absent.

image

Checklist

@nscuro nscuro added this to the 4.11 milestone Dec 21, 2023
@nscuro nscuro added the defect Something isn't working label Dec 21, 2023
Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for yet another much appreciated fix!

@nscuro nscuro merged commit 3872283 into DependencyTrack:master Dec 21, 2023
8 checks passed
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.

Project page colum selection
2 participants