DependencyTrack / DependencyTrack/dependency-track

Component "Projects" tab: No Column Sort

Open
#353 6 comments 0 reactions 0 assignees View on GitHub
defect p3
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.

![image](https://user-images.githubusercontent.com/4938718/58573443-9f5c1380-8235-11e9-85de-de6d6abd3e74.png)

### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.