24 |
function => 'distinct', |
function => 'distinct', |
25 |
); |
); |
26 |
$authors->unlimit; |
$authors->unlimit; |
27 |
|
$authors->order_by({ column => 'author', order => 'ASC' }); |
28 |
|
warn "authors ", $authors->build_select_query; |
29 |
[{ |
[{ |
30 |
display_from => 'author', |
display_from => 'author', |
31 |
value_from => 'author', |
value_from => 'author', |
33 |
}]; |
}]; |
34 |
}; |
}; |
35 |
|
|
36 |
|
param branch => |
37 |
|
label is 'In branch', |
38 |
|
render as 'combobox', |
39 |
|
available are defer { |
40 |
|
my $branches = SVNBrowser::Model::BranchCollection->new; |
41 |
|
$branches->column( |
42 |
|
column => 'path', |
43 |
|
function => 'distinct', |
44 |
|
); |
45 |
|
$branches->unlimit; |
46 |
|
$branches->order_by({ column => 'path', order => 'ASC' }); |
47 |
|
warn "branches ", $branches->build_select_query; |
48 |
|
[{ |
49 |
|
display_from => 'path', |
50 |
|
value_from => 'path', |
51 |
|
collection => $branches, |
52 |
|
}]; |
53 |
|
}; |
54 |
|
|
55 |
param show_actions => |
param show_actions => |
56 |
label is 'Show file actions', |
label is 'Show file actions', |
57 |
render as 'checkbox'; |
render as 'checkbox'; |