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:
Aravind Parappil 2024-05-09 20:52:17 -04:00
parent cf4f2d4d9b
commit 49350358f8
2 changed files with 14 additions and 3 deletions

View file

@ -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);
}
}