Allow filtering jobs in eval pages
[?]
Aug 28, 2013, 2:07 PM
2S7UHICMX4WPA4VYTPUYU6SXTDQ6ZORXJ4AZ7F4YXLGQPYCAVYBQCDependencies
- [2]
W74RIXTJShow inputs and input changes on the jobset eval page - [3]
X46KWQFNFix incorrect removed jobs in eval pages - [4]
3PNG7NIBRemove trailing whitespace - [5]
L7NUCXKSShow new and removed jobs - [6]
KQZQI2WNAllow creating a release from an evaluation - [7]
DE2DNCOIAllow comparing an evaluation with an arbitrary other evaluation - [8]
U4TD3AIQAdd support for viewing jobset evaluations
Change contents
- edit in src/lib/Hydra/Controller/JobsetEval.pm at line 28
$c->stash->{filter} = $c->request->params->{filter} // "";my $filter = $c->stash->{filter} eq "" ? {} : { job => { ilike => "%" . $c->stash->{filter} . "%" } }; - replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 68
my @builds = $eval->builds->search({}, { columns => [@buildListColumns] });my @builds2 = defined $eval2 ? $eval2->builds->search({}, { columns => [@buildListColumns] }) : ();my @builds = $eval->builds->search($filter, { columns => [@buildListColumns] });my @builds2 = defined $eval2 ? $eval2->builds->search($filter, { columns => [@buildListColumns] }) : (); - edit in src/root/jobset-eval.tt at line 38
<form class="form-search"><input name="filter" type="text" class="input-large search-query" placeholder="Search jobs by name..." [% HTML.attributes(value => filter) %]/><input name="compare" type="hidden" [% HTML.attributes(value => otherEval.id) %]/><input name="full" type="hidden" [% HTML.attributes(value => full) %]/></form> - replacement in src/root/jobset-eval.tt at line 105
<a class="btn" href="[% c.uri_for(c.controller('JobsetEval').action_for('release'), [eval.id]) %]">Release</a><a class="btn" href="[% c.uri_for(c.controller('JobsetEval').action_for('release'), [eval.id]) %]">Release</a>