summaryrefslogtreecommitdiff
path: root/bin/pos.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pos.pl')
-rwxr-xr-xbin/pos.pl8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/pos.pl b/bin/pos.pl
index 9e5a2114..c60ed7ae 100755
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -278,13 +278,7 @@ sub form_header {
if ( $form->{language_code} ne $form->{oldlanguage_code} ) {
# rebuild partsgroup
- $form->get_partsgroup(
- \%myconfig,
- {
- language_code => $form->{language_code},
- searchitems => 'nolabor'
- }
- );
+ $form->get_partsgroup(\%myconfig, { all => 1});
$form->{partsgroup} = "";
for ( @{ $form->{all_partsgroup} } ) {
$form->{partsgroup} .= "$_->{partsgroup}--$_->{translation}\n";