Revision 90e9b1ab
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
SL/Controller/CsvImport/Part.pm | ||
---|---|---|
427 | 427 |
return; |
428 | 428 |
} |
429 | 429 |
|
430 |
my %old_makemodels_by_make = map { $_->make => $_ } $entry->{part}->makemodels;
|
|
430 |
my %old_makemodels_by_mm = map { $_->make . $; . $_->model => $_ } $entry->{part}->makemodels;
|
|
431 | 431 |
|
432 | 432 |
foreach my $makemodel ($object->makemodels()) { |
433 |
my $makemodel_orig = $old_makemodels_by_make{$makemodel->make};
|
|
433 |
my $makemodel_orig = $old_makemodels_by_mm{$makemodel->make,$makemodel->model};
|
|
434 | 434 |
$found_any = 1; |
435 | 435 |
|
436 | 436 |
if ($makemodel_orig) { |
Auch abrufbar als: Unified diff
CsvImport: Makemodels feiner granulieren.