Joins with new vesion of editor.

Joins with new vesion of editor.

UMR5558UMR5558 Posts: 41Questions: 13Answers: 0

Hello everybody
I have a problem with the new version a the editor and my old scripts.
My project use two tables T1(id, field1_t1, field2_t1...) and T2(t1_id, field1_t2, field2_t2...)
and a link between T1(id) = T2(t1_id)
I use this syntax
in JS file: { "label": "T2 field1", "name": "T2.field1_t2", "type": "text" }
in php file:
->join( Join::inst( 'T2', 'object' ) ->join( 'id', 't1_id' ) ->fields( Field::inst( 'field1_t2' )))

With the old version of editor, it was working very well.
And now the field field1_t2 is not updated or created in my database.
I have no message and error in my debugger, and i don't understand why?

I use another syntax for generate selects buttons Field::inst( 'capture.operateur_id' ), Field::inst( 'operateur.nom' ) ...... ...... ->leftJoin( 'individu', 'individu.id', '=', 'capture.individu_id' )

and it 's working well

Thank's for your help. Lionel

This discussion has been closed.