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

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

revision 413 by dpavlin, Mon Feb 20 21:47:54 2006 UTC revision 414 by dpavlin, Mon Feb 20 21:48:47 2006 UTC
# Line 239  sub search { Line 239  sub search {
239          $cond->set_max( $page * $max );          $cond->set_max( $page * $max );
240    
241          my $result = $self->{est_node}->search($cond, $args->{depth});          my $result = $self->{est_node}->search($cond, $args->{depth});
242            if (! $result) {
243                    $self->{log}->fatal("search didn't return result");
244                    return;
245            }
246          my $hits = $result->doc_num;          my $hits = $result->doc_num;
247    
248          $times->{est} += time() - $t;          $times->{est} += time() - $t;

Legend:
Removed from v.413  
changed lines
  Added in v.414

  ViewVC Help
Powered by ViewVC 1.1.26