/[webpac2]/Webpacus/lib/Webpacus/Controller/Search.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 /Webpacus/lib/Webpacus/Controller/Search.pm

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

revision 160 by dpavlin, Sat Nov 26 16:22:08 2005 UTC revision 200 by dpavlin, Wed Nov 30 23:21:30 2005 UTC
# Line 107  sub results : Local { Line 107  sub results : Local {
107    
108          $log->debug("results got params: " . Dumper( $params ) );          $log->debug("results got params: " . Dumper( $params ) );
109    
110            if (! $params->{_page} || $params->{_page} < 1) {
111                    $params->{_page} = 1;
112                    $log->warn("fixed _page parametar to 1");
113            }
114    
115          my @attr;          my @attr;
116          my @words;          my @words;
117          # default operator to join fields/words          # default operator to join fields/words
# Line 172  sub results : Local { Line 177  sub results : Local {
177          $c->stash->{template} = 'results.tt';          $c->stash->{template} = 'results.tt';
178  }  }
179    
180  =back  =item record
181    
182    forwarded to C</editor/record>
183    
184    =cut
185    
186    sub record : Local {
187            my ( $self, $c ) = @_;
188    
189            $c->forward( '/editor/record' );
190    }
191    
192    =back
193    
194  =head1 AUTHOR  =head1 AUTHOR
195    

Legend:
Removed from v.160  
changed lines
  Added in v.200

  ViewVC Help
Powered by ViewVC 1.1.26