alphagov/whitehall — pull request #1797 by tekin (2014-10-22 09:11:25+00:00)
Title: Make Frontend::StatisticsAnnouncementFilter less clever

The Frontend::StatisticsAnnouncementFilter was written to accept both slugs and actual Topics/Organisations for reasons that are unclear. This opens it up to potential shenanigans as the dynamic find_by_ methods appear to behave strangely when handed a hash.