--- trunk/lib/SVNBrowser/Action/Filter.pm 2006/12/05 23:32:32 13 +++ trunk/lib/SVNBrowser/Action/Filter.pm 2006/12/10 00:01:33 26 @@ -31,6 +31,23 @@ }]; }; + param branch => + label is 'In branch', + render as 'combobox', + available are defer { + my $branches = SVNBrowser::Model::BranchCollection->new; + $branches->column( + column => 'path', + function => 'distinct', + ); + $branches->unlimit; + [{ + display_from => 'path', + value_from => 'path', + collection => $branches, + }]; + }; + param show_actions => label is 'Show file actions', render as 'checkbox'; @@ -43,6 +60,17 @@ render as 'Select', available are qw( 10 20 30 50 100 ); + param from_date => + label is 'From date', + render as 'Date'; + + param to_date => + label is 'To date', + render as 'Date'; + + param search => + label is 'Search in messages'; + }; sub sticky_on_success { 1; } @@ -57,7 +85,7 @@ my $author = $self->argument_value('author'); my $msg = ''; $msg .= "Showing only commits for $author" if ($author); - $msg .= ( $msg ? ' and file actions' : ' File actions' ) if ( $self->argument_value('show_actions') ); + $msg .= ( $msg ? ' and file actions' : 'Showing file actions for each commit' ) if ( $self->argument_value('show_actions') ); $self->result->message($msg) if ($msg); return 1;