Revision 1557e88c
Von Tamino Steinert vor 9 Monaten hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
904 | 904 |
@{$::form->{variants}}; |
905 | 905 |
|
906 | 906 |
my @to_sort = map { { old_pos => $variant_id_to_position{$_->id}, order_by => $method->($_) } } @items; |
907 |
if ($::form->{order_by} =~ /^(listpirce|sellprice|lastcost|onhand|rop)$/ ||
|
|
907 |
if ($::form->{order_by} =~ /^(listprice|sellprice|lastcost|onhand|rop)$/ ||
|
|
908 | 908 |
$::form->{order_by} =~ /^variant_property_/) { |
909 | 909 |
if ($::form->{sort_dir}) { |
910 | 910 |
@to_sort = sort { $a->{order_by} <=> $b->{order_by} } @to_sort; |
Auch abrufbar als: Unified diff
Varianten: FIX: typo