#99 closed enhancement (fixed)
enhance model "ordering" to reduce redundancy for multiple same-order fields
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
currently:
ordering = (
('last_name','ASC'),
('first_name','ASC'),
('middle_name','ASC'),
('name_suffix','ASC'),
)
suggested:
ordering = ((('last_name','first_name','middle_name','name_suffix'),'ASC'),)
Looks like the same "string or sequence of strings" trick, but going the other way this time! Should be backwards compatible, too.
Note:
See TracTickets
for help on using tickets.
The core problem you pointed out here (verbosity) was fixed in [292], so I'm closing this ticket.