Revision 5649eaba
Von G. Richardson vor etwa 6 Jahren hinzugefügt
SL/Controller/RequirementSpecPart.pm | ||
---|---|---|
50 | 50 |
sub action_ajax_add { |
51 | 51 |
my ($self) = @_; |
52 | 52 |
|
53 |
my $part = SL::DB::Part->new(id => $::form->{part_id})->load(with_objects => [ qw(unit_obj) ]);
|
|
53 |
my $part = SL::DB::Part->new(id => $::form->{part_id})->load(with => [ qw(unit_obj) ]); |
|
54 | 54 |
my $rs_part = SL::DB::RequirementSpecPart->new( |
55 | 55 |
part => $part, |
56 | 56 |
qty => 1, |
Auch abrufbar als: Unified diff
Aufruf von with_objects in RequirementSpecPart korrigiert
bei SL::DB::Object ist der Parameter "with", nicht "with_objects" (wie
bei SL::DB::Manager::Object)
Das hatte allerdings keine kritischen Auswirkungen, der Parameter wurde
ignoriert und die Daten wurden dann erst später geladen.