/[webpac2]/trunk/lib/WebPAC/Output/KinoSearch.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/WebPAC/Output/KinoSearch.pm

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

revision 922 by dpavlin, Tue Oct 30 23:36:49 2007 UTC revision 924 by dpavlin, Wed Oct 31 00:26:45 2007 UTC
# Line 139  sub add { Line 139  sub add {
139          $hash->{database} ||= $self->database;          $hash->{database} ||= $self->database;
140          $hash->{id} ||= $id;          $hash->{id} ||= $id;
141    
142            foreach my $f ( keys %$hash ) {
143                    if ( ref($hash->{$f}) eq 'ARRAY' ) {
144                            $hash->{$f} = join(' <*> ', @{ $hash->{$f} });
145                    }
146            }
147    
148          $log->debug("add( $id, ", sub { dump($ds) }," ) => ", sub { dump( $hash ) });          $log->debug("add( $id, ", sub { dump($ds) }," ) => ", sub { dump( $hash ) });
149    
150          $self->index->add_doc( $hash );          $self->index->add_doc( $hash );

Legend:
Removed from v.922  
changed lines
  Added in v.924

  ViewVC Help
Powered by ViewVC 1.1.26