revert change to dbix::class generated code

This commit is contained in:
Rob Vermaas 2010-02-05 19:41:26 +00:00
parent 9dba2127cb
commit 61ad98f982
3 changed files with 1 additions and 16 deletions

View file

@ -191,14 +191,6 @@ __PACKAGE__->has_many(
use Hydra::Helper::Nix; use Hydra::Helper::Nix;
# order buildsteps
__PACKAGE__->has_many(
"buildsteps",
"Hydra::Schema::BuildSteps",
{ "foreign.build" => "self.id" },
{ order_by => "stepnr" },
);
__PACKAGE__->has_many( __PACKAGE__->has_many(
"dependents", "dependents",
"Hydra::Schema::BuildInputs", "Hydra::Schema::BuildInputs",

View file

@ -97,12 +97,5 @@ __PACKAGE__->has_many(
# Created by DBIx::Class::Schema::Loader v0.04999_09 @ 2009-11-17 16:05:10 # Created by DBIx::Class::Schema::Loader v0.04999_09 @ 2009-11-17 16:05:10
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+HDJ8tIPcvj5+IwgHqTnaw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+HDJ8tIPcvj5+IwgHqTnaw
__PACKAGE__->has_many(
"jobsets",
"Hydra::Schema::Jobsets",
{ "foreign.project" => "self.name" },
{ order_by => "name" },
);
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration
1; 1;

View file

@ -10,7 +10,7 @@
[% BLOCK renderBuildSteps %] [% BLOCK renderBuildSteps %]
<h2 id="buildsteps">Build steps</h2> <h2 id="buildsteps">[% IF onlyFailed == 1 %]Failed build steps[% ELSE %]Build steps[% END%]</h2>
<table class="tablesorter"> <table class="tablesorter">
<thead> <thead>
<tr><th>Nr</th><th>What</th><th>Duration</th><th>Status</th></tr> <tr><th>Nr</th><th>What</th><th>Duration</th><th>Status</th></tr>