mirror of
https://github.com/DependencyTrack/dependency-track.git
synced 2025-11-01 06:00:59 +00:00
Add active Field To Project Versions
In order for the UI to distinguish between active or inactive project versions, we need to include the active boolean field to ProjectVersion model Signed-off-by: Aravind Parappil <aravindparappil@gmail.com>
This commit is contained in:
parent
cf4f2d4d9b
commit
49350358f8
2 changed files with 14 additions and 3 deletions
|
|
@ -1210,7 +1210,7 @@ final class ProjectQueryManager extends QueryManager implements IQueryManager {
|
|||
final Query<Project> query = pm.newQuery(Project.class);
|
||||
query.setFilter("name == :name");
|
||||
query.setParameters(project.getName());
|
||||
query.setResult("uuid, version");
|
||||
query.setResult("uuid, version, active");
|
||||
return query.executeResultList(ProjectVersion.class);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue