-
Type:
Sub-task
-
Resolution: Unresolved
-
Priority:
Minor
-
Affects Version/s: PE Milestone 9 (Stitching Time!)
-
None
Various models support ordering, such as Provisioning Targets. Standardize and document a way to easily enable this on a per-model basis:
- schema.json defines the ordr field (with value inherited from the schema library)
- The model adds OrderableBehavior, which automatically injects the new maximum value for the row
- columns.inc enables drag-and-drop reordering, either via a flag or perhaps automatically if the column ordr is defined in $indexColumns
- StandardController implements any necessary callback(s) for drag-and-drop (similar to how provision is implemented there for any provisionable models)
(It's not clear if this should apply to primary objects that also support order values, such as PersonRoles.)