This is related to both #348573: Don't display any usage stats for projects that can't possibly have real data and #346046: Weekly API and release tables shouldn't show list unprocessed weeks, but is distinct from them. Like #348573, I have no idea if this should live here or drupalorg.module.
It'd be nice to just not display any usage info for releases that have no usage data at all. On d.o, that includes 4.7.x-* and earlier at least.
I'm not sure about "modern" releases without data. But, it seems reasonable from a UI perspective that if you don't see any row for a given release, there's no usage data for it. For example, looking at http://drupal.org/project/usage/drupal, I don't know that we really need to be displaying (empty) rows for 5.0-rc2, 5.0-rc1, 5.0-beta2, and 5.0-beta1...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | project_348578.patch | 1.09 KB | drewish |
Comments
Comment #1
drewish commentedyeah, probably worth dropping empty rows.
Comment #2
drewish commentedI think this should do the trick. Untested but doesn't have any syntax errors ;)
Comment #3
dwwReviewed, tested on p.d.o, committed to HEAD + DRUPAL-5, and deployed on d.o.
Comment #4
dwwFound an unintended side effect. Fixed in HEAD + DRUPAL-5, and deployed on d.o:
http://drupal.org/cvs?commit=159908