Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8b7b7b3f

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 8b7b7b3f6252786b38bb6c9357fc00a08750b8db
  • Vorgänger d482851e
  • Nachfolger 260c52c3

Rose: 'with_args' nach Foreign-Key-Einführung gefixt

Die Beziehung heißt nun 'parts' und nicht mehr 'part'. 'part' ist nur
ein Alias.

Unterschiede anzeigen:

SL/DB/Invoice.pm
25 25
    class        => 'SL::DB::InvoiceItem',
26 26
    column_map   => { id => 'trans_id' },
27 27
    manager_args => {
28
      with_objects => [ 'part' ]
28
      with_objects => [ 'parts' ]
29 29
    }
30 30
  },
31 31
);
SL/DB/Order.pm
23 23
    class        => 'SL::DB::OrderItem',
24 24
    column_map   => { id => 'trans_id' },
25 25
    manager_args => {
26
      with_objects => [ 'part' ]
26
      with_objects => [ 'parts' ]
27 27
    }
28 28
  },
29 29
  periodic_invoices_config => {

Auch abrufbar als: Unified diff