Revision d85c9c95
Von Tamino Steinert vor 5 Monaten hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
945 | 945 |
lastcost => sub { $_[0]->lastcost }, |
946 | 946 |
onhand => sub { $_[0]->onhand }, |
947 | 947 |
rop => sub { $_[0]->rop }, |
948 |
variant_values => sub { $_[0]->variant_values }, |
|
948 |
variant_values => sub { $_[0]->variant_values_sortkey },
|
|
949 | 949 |
); |
950 | 950 |
foreach my $variant_property (@{$part->variant_properties}) { |
951 | 951 |
my $key = 'variant_property_' . $variant_property->id; |
Auch abrufbar als: Unified diff
Varianten: Helferfunktion zum Sortieren von Varianten eines Stammartikel