Revision f7b21f9b
Von Tamino Steinert vor 6 Tagen hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
911 | 911 |
@{$::form->{variants}}; |
912 | 912 |
|
913 | 913 |
my @to_sort = map { { old_pos => $variant_id_to_position{$_->id}, order_by => $method->($_) } } @items; |
914 |
if ($::form->{order_by} =~ /^(listpirce|sellprice|lastcost|onhand|rop)$/ ||
|
|
914 |
if ($::form->{order_by} =~ /^(listprice|sellprice|lastcost|onhand|rop)$/ ||
|
|
915 | 915 |
$::form->{order_by} =~ /^variant_property_/) { |
916 | 916 |
if ($::form->{sort_dir}) { |
917 | 917 |
@to_sort = sort { $a->{order_by} <=> $b->{order_by} } @to_sort; |
Auch abrufbar als: Unified diff
Varianten: FIX: typo