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

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

revision 92 by dpavlin, Mon Nov 21 17:46:27 2005 UTC revision 93 by dpavlin, Tue Nov 22 12:57:15 2005 UTC
# Line 52  sub suggest : Regex('^autocomplete/sugge Line 52  sub suggest : Regex('^autocomplete/sugge
52   );   );
53            
54    
55      my $complete_me = $c->req->params->{complete_me};      my $q = $c->req->params->{$what};
56      my @suggestions;      my @suggestions;
57    
58          $log->info("search for $complete_me in $what\n");          $log->info("search for '$q' in $what\n");
59      my @hits = $est->search( query => $complete_me, max => 10, attr => [ $what ] );      my @hits = $est->search( query => $q, max => 10, attr => [ $what ] );
60    
61      my $used;      my $used;
62    

Legend:
Removed from v.92  
changed lines
  Added in v.93

  ViewVC Help
Powered by ViewVC 1.1.26