spendright / msd

Merge SpendRight scraper data
Apache License 2.0
0 stars 1 forks source link

Johnson & Johnson ratings filtered out #27

Closed coyotemarin closed 9 years ago

coyotemarin commented 9 years ago

Johnson & Johnson is rated by three campaigns in my input data. It appears in the company table, but there are no ratings for it in the rating table.

coyotemarin commented 9 years ago

Wow, apparently this was due to a bug in select_groups() where each group only contained one row (we were using GROUP BY in the query when we shouldn't have).