diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-16 23:27:53 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-19 11:44:48 +0300 |
commit | 4718a059f842a791c89a1922996bb8f1dbea8f65 (patch) | |
tree | a6dcc621f8287d444a699355f89b4a383eafd283 /mod/mod-build-task.cxx | |
parent | e2264d6c34de011753913dd9b447b3d38649619c (diff) |
Add filter form to builds page
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r-- | mod/mod-build-task.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx index 3e02463..ec236c0 100644 --- a/mod/mod-build-task.cxx +++ b/mod/mod-build-task.cxx @@ -396,7 +396,8 @@ handle (request& rq, response& rs) move (tqm.toolchain_name), move (toolchain_version), mh.name, - move (mh.summary)); + move (mh.summary), + cm.config->target); build_db_->persist (b); } @@ -431,6 +432,7 @@ handle (request& rq, response& rs) b->toolchain_name = move (tqm.toolchain_name); b->machine = mh.name; b->machine_summary = move (mh.summary); + b->target = cm.config->target; b->timestamp = timestamp::clock::now (); build_db_->update (b); @@ -552,6 +554,8 @@ handle (request& rq, response& rs) b->toolchain_name = tqm.toolchain_name; b->machine_summary = mh.summary; + b->target = cm.config->target; + // Mark the section as loaded, so results are updated. // b->results_section.load (); |