/[SVNBrowser]/trunk/lib/SVNBrowser/Action/Filter.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/SVNBrowser/Action/Filter.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 48 by dpavlin, Tue Feb 6 23:28:48 2007 UTC revision 49 by dpavlin, Thu Feb 8 21:57:20 2007 UTC
# Line 53  use Jifty::Action schema { Line 53  use Jifty::Action schema {
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';
# Line 66  use Jifty::Action schema { Line 66  use Jifty::Action schema {
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',
# Line 131  sub take_action { Line 132  sub take_action {
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;

Legend:
Removed from v.48  
changed lines
  Added in v.49

  ViewVC Help
Powered by ViewVC 1.1.26