Project API terms are generated in the wrong order
aclight - March 9, 2008 - 18:16
| Project: | Drupal.org Testing |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | aclight |
| Status: | closed |
Description
Currently, API compatibility terms are generated in the order of most recent to earliest (ie. 6.x to 4.0.x). They need to be generated in chronological order (ie. 4.0.x to 6.x). Attached patch fixes this.
| Attachment | Size |
|---|---|
| dot_api_term_order.patch | 896 bytes |

#1
Sure. Might as well add 7.x while you're at it.
#2
Yep, might as well. Here's an updated patch. I haven't yet tested this updated patch.
#3
Actually, if what you're worried about is the order of the terms, I'm pretty sure you need to specify the weight for each term, not just change the order they're submitted in. Since we want a reverse chronology order in the various term listings, we want to weight the oldest terms the heaviest and keep getting lighter as we get newer. That's actually how the code worked during the initial conversion to the "new" release system...
#4
Yep, good point. This does the trick.
#5
Great, ship it. Thanks!
#6
Fixed in http://drupal.org/cvs?commit=116521
#7
Automatically closed -- issue fixed for two weeks with no activity.