controller => 'ic.pl',
action => 'generate_report',
all => $term,
- (searchitems => $self->type) x!!$self->type,
+ (searchitems => $self->part_type) x!!$self->part_type,
);
}
);
}
-sub type {
+sub part_type {
()
}
model => 'Part',
source => {
filter => {
- (type => $self->type) x!!$self->type,
+ (part_type => $self->part_type) x!!$self->part_type,
'all:substr:multi::ilike' => $::form->{term},
},
},