Hi

I have a many-To-many (Gig-Song) relation and want to use
sfWidgetFormSelectDoubleList.
It work's fine, but I want to save the order of assignments, too (and
not only associated /unassociated ).


schema.yml:
# many-To-many-relation
...
GigSong:
  columns:
    order_id: { type: integer, notnull: true, default: 0 }
    gig_id:  { type: integer, primary: true }
    song_id: { type: integer, primary: true }
...

As you see I have an order_id. I want to use this field to determine
the ordering of played songs on a gig.

How can I save the order in which I associated the songs to a gig
using the sfWidgetFormSelectDoubleList? Or what may I do alternatively?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to