diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2025-02-07 07:54:06 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2025-02-07 07:54:06 +0200 |
commit | 6c2473e25f537469e6580c54c9803aab1cceb147 (patch) | |
tree | d92b24815f523d660903590dd7be9c82853fe3fe | |
parent | f2a6ef78ec4dcd02ff285c80ccdbb6277b93f0a5 (diff) |
Fix builds page not to display force rebuilds when filter by pending builds
-rw-r--r-- | mod/mod-builds.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx index b11b3d7..8fb6e1b 100644 --- a/mod/mod-builds.cxx +++ b/mod/mod-builds.cxx @@ -172,7 +172,8 @@ build_query (const brep::vector<brep::build_target_config_id>* config_ids, { if (rs == "pending") { - q = q && qb::force != "unforced"; + q = q && ((qb::state == "built" && qb::force =="forced") || + (qb::state == "building" && qb::force =="forcing")); } else if (rs == "building") { |