The Dublin Core metadata element set
is a standard for cross-domain information resource description.
|
||
| Element | Description | Value |
|---|---|---|
| Identifier | resource ID | http://old.zope.org/Members/rossl/MultikeyInSorts |
| Title | resource name | (Superceded - is now in Zope 2.2.x) Allows dtml-in sort to have multiple keys |
| Description | resource summary | <h5>(This is now superceded by a properly written patch which is part of zope 2.2.x so this material is now of archeological interest only!)</h5> <a href="DT_InHACK"> Whack the WikiWeb here </a>to discuss the patch<br> <pre> <dtml-in "foo" sort=akey> is really handy as everyone knows. </pre> I needed to sort on multiple fields for an application I have, so I hacked at lib/python/DocumentTemplate/DT_In.py so the following <pre> <dtml-in "foo" sort=akey1,akey2,akey3> </pre>now appears to work.</p> This <a href="diff"> patch for DT-In.py</a> is only VERY lightly tested which is why I'm posting it here. If anyone needs this, please try it - but NOT on a production server.</p> <a href="DT_InHACK">Please add a comment to the wiki to let me know how you go</a>. If it proves useable, I'd suggest it eventually might be worth considering for a future release since without this patch, if you need multiple keys you have to fake them in your data which is cruel..</p> I haven't even tried the mapping version code and I suspect that it's unlikely to work, but, in the spirit of opensource, for those of a self destructive urge and strong stomach, here's the diff and the whole DT_In.py This is highly experimental..PLEASE don't even think about using this unless you're willing to clean up any mess that results. All care, no responsibility. Note that the new file has the original method renamed as osort_sequence so you can easily revert to normal operation. </pre> |
| Creator | resource creator | ZopeOrgSite |
| Date | default date | 2000-11-29 16:40:02 |
| Format | resource format | text/html |
| Type | resource type | Software Package |
| Subject | resource keywords | Patches |
| Contributors | resource collaborators | |
| Language | resource language | |
| Publisher | resource publisher | No publisher |
| Rights | resource copyright | |
|
||
| Element | Description | Value |
| CreationDate | date resource created | 2000-11-29 16:40:02 |
| ModificationDate | date resource last modified | 2000-11-29 16:40:02 |
| EffectiveDate | date resource becomes effective | None |
| ExpirationDate | date resource expires | None |
Backlinks:
via
Google
/
Technorati
RDF:
view RDF data