#33 — Preserve order in VDEX vocabularies.
by
Jean Jordaan
—
last modified
Jan 08, 2009 01:48 PM
| State | Resolved |
|---|---|
| Version: | 1.1 |
| Area | Functionality |
| Issue type | Patch |
| Severity | Medium |
| Submitted by | Jean Jordaan |
| Submitted on | Jan 19, 2007 |
| Responsible | Jens W. Klein |
| Target release: |
—
|
VdexTermHandlerMixin.getVocabularyDict uses nested dicts to represent the vocabulary. These are also used when building the DisplayLists for selection widgets. Consequently the order of terms is not preserved. Here's a patch that uses an ordered dictionary implementation from
http://aspn.activestate.com/[…]/496761
to keep the order.
There are more recipes at:
http://aspn.activestate.com/[…]/438823
http://aspn.activestate.com/[…]/107747
Added by
Jens W. Klein
on
Mar 02, 2007 08:54 AM
added preserve-order of vdex, but by using Products.Archetypes.utils.OrderdDict
Issue state:
unconfirmed
→
resolved
Responsible manager:
(UNASSIGNED)
→
jensens
No responses can be added.
If you can, please log in before submitting a reaction.

ATVocabularyManager-trunk-OrderedDictionary.patch