Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#99 closed enhancement (fixed)

enhance model "ordering" to reduce redundancy for multiple same-order fields

Reported by: maney@… 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.

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

The core problem you pointed out here (verbosity) was fixed in [292], so I'm closing this ticket.

Note: See TracTickets for help on using tickets.
Back to Top