Revision 9273a65b
Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt
SL/Controller/TopQuickSearch/Article.pm | ||
---|---|---|
66 | 66 |
SL::Controller::Base->new->url_for( |
67 | 67 |
controller => 'controller.pl', |
68 | 68 |
action => 'Part/edit', |
69 |
id => $term,
|
|
69 |
'part.id' => $term,
|
|
70 | 70 |
); |
71 | 71 |
} |
72 | 72 |
|
SL/Presenter/Part.pm | ||
---|---|---|
17 | 17 |
croak "Unknown display type '$params{display}'" unless $params{display} =~ m/^(?:inline|table-cell)$/; |
18 | 18 |
|
19 | 19 |
my $text = join '', ( |
20 |
$params{no_link} ? '' : '<a href="controller.pl?action=Part/edit&id=' . $self->escape($part->id) . '">', |
|
20 |
$params{no_link} ? '' : '<a href="controller.pl?action=Part/edit&part.id=' . $self->escape($part->id) . '">',
|
|
21 | 21 |
$self->escape($part->partnumber), |
22 | 22 |
$params{no_link} ? '' : '</a>', |
23 | 23 |
); |
bin/mozilla/ic.pl | ||
---|---|---|
590 | 590 |
$soldtotal = 0 if ($form->{sold}); |
591 | 591 |
} |
592 | 592 |
|
593 |
my $edit_link = build_std_url('script=controller.pl', 'action=Part/edit', 'id=' . E($ref->{id}), 'callback'); |
|
593 |
my $edit_link = build_std_url('script=controller.pl', 'action=Part/edit', 'part.id=' . E($ref->{id}), 'callback');
|
|
594 | 594 |
$row->{partnumber}->{link} = $edit_link; |
595 | 595 |
$row->{description}->{link} = $edit_link; |
596 | 596 |
|
Auch abrufbar als: Unified diff
Part Controller - id -> part.id