Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3a1b684b

Von Martin Helmling martin.helmling@octosoft.eu vor mehr als 8 Jahren hinzugefügt

  • ID 3a1b684b14006df369bac9f91a942fd3fd3e40dd
  • Vorgänger ea1c5dfb
  • Nachfolger f3c78a02

partpicker mit classification_id als filter erweitert

Unterschiede anzeigen:

SL/DB/Manager/PartClassification.pm
__PACKAGE__->make_manager_methods;
sub classification_filter {
my ($class, $classification, $prefix) = @_;
return () unless $classification;
$prefix //= '';
my @classifications = grep { $_ } listify($classification);
return ( $prefix . 'classification_id' => \@classifications );
}
1;

Auch abrufbar als: Unified diff