DependencyTrack / DependencyTrack/frontend

Sorting does not work in "Project Name" column, when a filter is active

Open
#505 0 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### Current Behavior

Clicking the chevron on the project name column does not lead to a sorted list of projects, neither ascending nor descending, if a filter is active
![image](https://github.com/DependencyTrack/frontend/assets/406876/f0f06d61-880f-4df0-914d-28b07610e944)

In all other columns the sorting works as expected.
Without a filter being applied, sorting project names seems to be correct (we have a 4 digit number of projects, so I'm not perfectly sure, scrolling through the huge pages manually).

### Steps to Reproduce

1. Filter projects using the filter box on the right.
2. Sort by project name.

### Expected Behavior

Sorted lexicographically project names.

### Dependency-Track Frontend Version

4.8.0

### Browser

Mozilla Firefox

### Browser Version

113.0.2

### Operating System

Windows

### Checklist

- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this defect was already reported

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the filtered project-table sorting in Firefox using the listed steps, comparing project-name ordering with the other columns and with no filter. No source file or test is named; done means project names sort lexicographically in both directions while a filter is active.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
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.