DependencyTrack / DependencyTrack/dependency-track

Search Filter does not work when viewing projects using classifier

Open
#2,368 1 comment 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

When using a classifier to view a subset of projects then the search filter does not work. ie when (say) 60 projects use the classifier, one cannot use the search filter to cut the display down further. Nothing at all happens.

This behaviour is similar to the defect with tag filtering, reported in #405 and fixed in v4.6.0

### Steps to Reproduce

Whilst defect was seen in DT with about 220 projects total, this should be easy to reproduce with a fresh install and just a few projects...

* Create 4 projects: AAA, XXY, XXZ, YYY
* Edit projects to specify classifier `Application` for all except AAA
* In the project view, click on the classifier `Application` for any project that has that classifier (ie, click on any link that says "Application").
* This will load `/projects/?classifier=APPLICATION` and display XXY, XXZ, YYY
* Now try and use search filter field. Type XX. All 3 projects are still displayed... YYY has not been filtered.

### Expected Behavior

Search filter should still work when in "classifier view".

### Dependency-Track Version

4.7.0

### Dependency-Track Distribution

Container Image

### Database Server

PostgreSQL

### Database Server Version

_No response_

### Browser

Mozilla Firefox

### 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/dependency-track/issues) for whether this defect was already reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.