From 3c392b8cd8917e4cb403735904d1c4d71d26b4e1 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 5 Feb 2020 17:30:23 -0500 Subject: [PATCH] Jobsets.jobs: Fetch via Jobsets.id --- src/lib/Hydra/Schema/Jobsets.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/Hydra/Schema/Jobsets.pm b/src/lib/Hydra/Schema/Jobsets.pm index fbbb253c..249d6aa4 100644 --- a/src/lib/Hydra/Schema/Jobsets.pm +++ b/src/lib/Hydra/Schema/Jobsets.pm @@ -441,10 +441,7 @@ Related object: L __PACKAGE__->has_many( "jobs", "Hydra::Schema::Jobs", - { - "foreign.jobset" => "self.name", - "foreign.project" => "self.project", - }, + { "foreign.jobset_id" => "self.id" }, undef, );