alphagov/whitehall — pull request #340 by h-lame (2013-03-13 11:03:59+00:00)
Title: Add & Remove corp info pages from search when their org changes state

When an org goes from govuk_status ``''`` to ``'live'`` we need to add any corp info pages that they have to the search. We do this with an observer. It also handles the (admittedly unlikely event of an org going from ``'live'`` to ``''`` and removing the pages from the index.

This completes: https://github.com/alphagov/whitehall/pull/337