projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fremdschlüssel für gl.department_id
[kivitendo-erp.git]
/
SL
/
Controller
/
Part.pm
diff --git
a/SL/Controller/Part.pm
b/SL/Controller/Part.pm
index
edcf544
..
6f3a136
100644
(file)
--- a/
SL/Controller/Part.pm
+++ b/
SL/Controller/Part.pm
@@
-8,11
+8,6
@@
use SL::DB::Part;
# safety
__PACKAGE__->run_before(sub { $::auth->assert('part_service_assembly_edit') });
# safety
__PACKAGE__->run_before(sub { $::auth->assert('part_service_assembly_edit') });
-sub action_part_picker_testpage {
- my ($self, %params) = @_;
- $self->render('part/testpage');
-}
-
sub action_ajax_autocomplete {
my ($self, %params) = @_;
sub action_ajax_autocomplete {
my ($self, %params) = @_;
@@
-28,7
+23,7
@@
sub action_ajax_autocomplete {
$self->{parts} = SL::DB::Manager::Part->get_all(query => [ @filter ], limit => $limit);
$self->{value} = $::form->{column} || 'description';
$self->{parts} = SL::DB::Manager::Part->get_all(query => [ @filter ], limit => $limit);
$self->{value} = $::form->{column} || 'description';
- $self->render('part/ajax_autocomplete', {
no_layout => 1
});
+ $self->render('part/ajax_autocomplete', {
layout => 0, type => 'json'
});
}
}