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

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

revision 948 by dpavlin, Wed Oct 31 12:14:03 2007 UTC revision 949 by dpavlin, Thu Nov 1 00:16:48 2007 UTC
# Line 137  sub finish { Line 137  sub finish {
137          foreach my $field ( keys %$fields ) {          foreach my $field ( keys %$fields ) {
138                  my $items = $fields->{$field} || confess "no field?";                  my $items = $fields->{$field} || confess "no field?";
139                  $log->debug("adding search field: $field [$items]");                  $log->debug("adding search field: $field [$items]");
140                  $o->load_or_create(                  $o->load_by_cols(
141                            name => $field,
142                    ) ||
143                    $o->create(
144                          name => $field,                          name => $field,
145                          items => $items,                          items => $items,
146                  ); # || $log->logdie("can't add $field");                  ); # || $log->logdie("can't add $field");

Legend:
Removed from v.948  
changed lines
  Added in v.949

  ViewVC Help
Powered by ViewVC 1.1.26