53 |
}; |
}; |
54 |
|
|
55 |
param rel_path => |
param rel_path => |
56 |
label is 'File path', |
label is 'Path begins with'; |
|
hint is 'enter beggining of file path to filter using it'; |
|
57 |
|
|
58 |
param show_actions => |
param show_actions => |
59 |
label is 'Show file actions', |
label is 'Show file actions', |
60 |
render as 'checkbox'; |
render as 'checkbox', |
61 |
|
default is 1; |
62 |
|
|
63 |
param page => |
param page => |
64 |
label is 'Current page'; |
label is 'Current page'; |
66 |
param per_page => |
param per_page => |
67 |
label is 'Commits on page', |
label is 'Commits on page', |
68 |
render as 'Select', |
render as 'Select', |
69 |
available are qw( 10 20 30 50 100 ); |
available are qw( 10 20 30 50 100 ), |
70 |
|
default is 10; |
71 |
|
|
72 |
param from_date => |
param from_date => |
73 |
label is 'From date', |
label is 'From date', |
132 |
$revisions->order_by({ column => 'commit_date', order => 'desc' }); |
$revisions->order_by({ column => 'commit_date', order => 'desc' }); |
133 |
$revisions->set_page_info( |
$revisions->set_page_info( |
134 |
current_page => $self->argument_value('page'), |
current_page => $self->argument_value('page'), |
135 |
per_page => $self->argument_value('per_page'), |
per_page => $self->argument_value('per_page') || 10, |
136 |
); |
); |
137 |
|
|
138 |
warn "take_action SQL: ", $revisions->build_select_query; |
warn "take_action SQL: ", $revisions->build_select_query; |