#33 — Preserve order in VDEX vocabularies.
| 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: |
—
|
Last modified on
Jan 08, 2009
by
Matthew Wilkes
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 byJens W. KleinonMar 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
Add response
If you can, please log in before submitting a reaction.
ATVocabularyManager-trunk-OrderedDictionary.patch