line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package M3::ServerView::FindJobView; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
22
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
140
|
|
4
|
4
|
|
|
4
|
|
21
|
use warnings; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
100
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
2592
|
use M3::ServerView::FindJobEntry; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
110
|
|
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
92
|
use base qw(M3::ServerView::View); |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
888
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
3
|
sub _entry_class { "M3::ServerView::FindJobEntry"; } |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub _entry_columns { |
13
|
|
|
|
|
|
|
return ( |
14
|
|
|
|
|
|
|
"No" => [ no => "numeric" ], |
15
|
|
|
|
|
|
|
"Type" => [ type => "text" ], |
16
|
40
|
|
|
40
|
|
10864
|
"Location" => sub { |
17
|
|
|
|
|
|
|
}, |
18
|
|
|
|
|
|
|
"Name" => sub { |
19
|
40
|
|
|
40
|
|
1155
|
my ($view, $entry, $data) = @_; |
20
|
40
|
100
|
|
|
|
222
|
if (!ref $data) { |
21
|
20
|
|
|
|
|
229
|
$entry->{name} = $data; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
}, |
24
|
1
|
|
|
1
|
|
16
|
"Id" => [ id => "numeric" ], |
25
|
|
|
|
|
|
|
"User" => [ user => "text" ], |
26
|
|
|
|
|
|
|
"Status" => [ status => "text" ], |
27
|
|
|
|
|
|
|
"Change" => [ change => "numeric" ], |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
__END__ |