Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Rebuttals become government responses #393

Merged
merged 4 commits into from Mar 26, 2013
Commits on Mar 26, 2013
  1. Rename NewsArticle::Rebuttal to GovernmentResponse

    h-lame committed Mar 25, 2013
    Ideally this would have just been a front-end label change to avoid doing a search re-index, unfortunately the word 'rebuttal' in the search_format_type is generated from one of these front-end labels and so we might as well do a full rename.  There is a data migration to come to remove & reindex all the rebuttals.
  2. Decouple search_format_type from singular_name in NesArticleType

    h-lame committed Mar 25, 2013
    This should mean if we need to rename any of these in the future we don't have to reindex the content as the search_format_type is not dependant on what we want the thing to be displayed on the front-end as.
  3. Remove all published news articles from search, then add again

    h-lame committed Mar 25, 2013
    This so we can put the new search_format_types for government response (née rebuttal) type news.