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...

CommentFileSizeAuthor
#2 project_348578.patch1.09 KBdrewish

Comments

drewish’s picture

yeah, probably worth dropping empty rows.

drewish’s picture

Status: Active » Needs review
StatusFileSize
new1.09 KB

I think this should do the trick. Untested but doesn't have any syntax errors ;)

dww’s picture

Status: Needs review » Fixed

Reviewed, tested on p.d.o, committed to HEAD + DRUPAL-5, and deployed on d.o.

dww’s picture

Found an unintended side effect. Fixed in HEAD + DRUPAL-5, and deployed on d.o:
http://drupal.org/cvs?commit=159908

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.