* When counting import failures, also count records that have no import
items attached
* Fixed problem w/ not setting import time/as on newly imported records
Signed-off-by: Bill Erickson <berick@esilibrary.com>
if($$options{with_import_error}) {
- $query->{from} = {$class => {vii => {type => 'right'}}};
+ $query->{from} = {$class => {vii => {type => 'left'}}};
$query->{where}->{'-or'} = [
{'+vqbr' => {import_error => {'!=' => undef}}},
{'+vii' => {import_error => {'!=' => undef}}}
$logger->info("vl: successfully imported new $type record");
$rec->imported_as($record->id);
+ $imported = 1;
}
}
}