Modify ↓
Ticket #870 (closed enhancement: fixed)
Make models lexicographly ordered by a field
| Reported by: | ejhernandez@… | Owned by: | ejhernandez@… |
|---|---|---|---|
| Milestone: | 0.12 | Component: | base |
| Severity: | minor | Keywords: | MVC order |
| Cc: |
Description (last modified by ejhernandez@…) (diff)
Models which are not ordered, that is where the order doesn't matter, may be ordered to be print or viewed in a lexicographly order by a string field without implementing the protected method _tailoredOrder since it's a quite common feature by a significant number of models.
The attribute name to mark is sortedBy and its value is the name of the String field from where to order.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.