Revision 77dbe5d9
Von Tamino Steinert vor 6 Tagen hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
877 | 877 |
variant_values => sub { $_[0]->variant_values }, |
878 | 878 |
); |
879 | 879 |
foreach my $variant_property (@{$part->variant_properties}) { |
880 |
my $key = 'variant_property_' . $variant_property->unique_name;
|
|
880 |
my $key = 'variant_property_' . $variant_property->id;
|
|
881 | 881 |
$sort_keys{$key} = sub { |
882 | 882 |
$_[0]->get_variant_property_value_by_unique_name($variant_property->unique_name)->value; |
883 | 883 |
} |
Auch abrufbar als: Unified diff
Varianten: Fix: Sortieren nach Varianteneigenschaften