The item would be saved with the ordering set by the reordering process.
The subform values seem to retain an order relative to their ID and the ID is not changed in the reordering process?
Labels |
Added:
No Code Attached Yet
|
Title |
|
Ah yes, that's it! Completely related to the columns being of type json in mysql. Is there a recommended column type for this data?
you can use json, there nothing bad with it.
just reindex the field value before save, then all be good, kind of:
$subformValues = array_values($data['subformField']);
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-09-29 13:22:57 |
Closed_By | ⇒ | travisrisner |
Please tell more detail.
Where do you use the field, and how do you store it?
Such thing may happen if you store the field value in mysql
json
column type.