From 81322de94ea02f58df0d5fbd47848d6dae0ae93f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 15 Aug 2013 00:30:19 +0200 Subject: [PATCH] Show aggregate members --- src/lib/Hydra/Schema/Builds.pm | 2 ++ src/root/build.tt | 13 +++++++++++++ src/root/common.tt | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/lib/Hydra/Schema/Builds.pm b/src/lib/Hydra/Schema/Builds.pm index 6280e08f..2bf821b6 100644 --- a/src/lib/Hydra/Schema/Builds.pm +++ b/src/lib/Hydra/Schema/Builds.pm @@ -552,6 +552,8 @@ __PACKAGE__->has_many( __PACKAGE__->many_to_many("jobsetevals", "jobsetevalmembers", "eval"); +__PACKAGE__->many_to_many("members_", "aggregatemembers_aggregates", "member"); + sub makeSource { my ($name, $query) = @_; my $source = __PACKAGE__->result_source_instance(); diff --git a/src/root/build.tt b/src/root/build.tt index 6dfc209c..47d3061b 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -68,6 +68,7 @@