mozilla/openbadges-cem — pull request #57 by cmcavoy (2013-09-26 02:40:24+00:00)
Title: Group badges by program

I originally wanted to group by all programs, however - openbadgers `/v2/badges` returns all badges without program populated. I spent too much time trying to get OpenBadger to populate the groups, then realized for this - all we really want are the specific programs that fit into the categories on the page.

A couple of things this solution means,

1. It's sort of embarrassing and we won't want to show it to our friends
2. It's pragmatic to a fault
3. We won't have to explicitly remove event badges from the API, because we're only grabbing the specific programs we want.

async, you win again.

:game_die: