DependencyTrack / DependencyTrack/dependency-track
Component "Projects" tab: No Column Sort
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior:
The "Projects" tab for a component displays two columns for the projects that have the component as a dependency:
* Name
* Version
Each column displays an ico indicating that the column can be sorted. Clicking will change the orientation of the icon and also show which column is "active".
The sort does not seem to work.

### Steps to Reproduce:
* Navigate to Components
* Select a component that is used in several projects
* When viewing the component, click on "Projects" tab
* Sort the projects by listing, both by name column, and by version column.
### Expected Behavior:
Projects listing sort should be functional.
I was seeking to sort the listing so that I could more easily compare usage of two different components with each other. ie, compare two sorted project lists.
### Environment:
- Dependency-Track Version: 3.4.1
- Distribution: [ Executable WAR ]
- BOM Format & Version: CycloneDX v1
- Database Server: [ PostgreSQL ]
- Browser: Firefox
Contributor guide
Research direction
Start with Components > select a component used by several projects > Projects, then reproduce the Name and Version sorting failure reported in Dependency-Track 3.4.1. Locate the table's sorting behavior; the payload names no source files or tests. Done means both columns reorder the project rows consistently with their sort indicators. Confirm the bug still exists before investing further, given the long inactivity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, postgresql
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100