Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0-ALPHA3
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:None
Description
I've come across the need for this in a scenario which is analogous to orders / products.
I've got an "order" which is linked to one or more "products". However the order (position) in which the products appear in the order is significant. Therefore I have a "position" field in the join table.
The requirement is:
- To map the order of the array to values of the "position" field in the join table upon save.
- To hydrate the array ordered by the position field when hydrating the object.
Activity
Roman S. Borschel
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 2.1 [ 10022 ] | |
| Affects Version/s | 2.0-ALPHA3 [ 10029 ] | |
| Component/s | ORM [ 10012 ] |
Guilherme Blanco
made changes -
Benjamin Eberlei
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Roman S. Borschel [ romanb ] | Benjamin Eberlei [ beberlei ] |
| Fix Version/s | 2.1 [ 10022 ] | |
| Resolution | Duplicate [ 3 ] |
Benjamin Eberlei
made changes -
Benjamin Eberlei
made changes -
| Workflow | jira [ 10523 ] | jira-feedback [ 14189 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 14189 ] | jira-feedback2 [ 16053 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 16053 ] | jira-feedback3 [ 18306 ] |