From 4718a059f842a791c89a1922996bb8f1dbea8f65 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 16 May 2017 23:27:53 +0300 Subject: Add filter form to builds page --- mod/mod-build-task.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mod/mod-build-task.cxx') 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 (); -- cgit v1.1