}
my $levelq='';
-if ($arg->{level} and $arg->{level} ne 'Any') {
+if ($arg->{level} and $arg->{level} !~ 'All|Any') {
$levelq = " AND Job.Level = '$arg->{level}' ";
}
my $ret = {};
foreach my $row (@$all_row) {
- # Todo, add Level to label if option is set ->[4]
my $label = $row->[1] . "/" . $row->[2] ; # client/backup name
+ if ($arg->{level} eq 'All') { # can separate level
+ $label = $row->[4] . ': ' . $label; # if users ask for
+ }
+
$ret->{date}->[$i] = $row->[0];
$ret->{$label}->[$i] = $row->[3];
$i++;
<td valign='top'>
<h2>__Level__</h2>
<select name='level' class='formulaire'>
- <option id='level_Any' value='Any'>__Any__</option>
+ <option id='level_Any' title='__Any level (grouped)__' value='Any'>__Any__</option>
+ <option id='level_All' title='__All levels (separated)__' value='All'>__All__</option>
<option id='level_F' value='F'>__Full__</option>
<option id='level_D' value='D'>__Differential__</option>
<option id='level_I' value='I'>__Incremental__</option>