alphagov/govuk_content_models — pull request #202 by elliotcm (2014-07-28 13:57:48+00:00)
Title: Make Tag#parent return the tag's parent even if it is draft.

This was causing tags to be returned via the API with blank parents, even though the parent existed in draft and draft tags had been requested.

The niggle this introduces is that if one were to request only live tags and there was a live child with a draft parent, that draft parent would be included in the response.

We are currently planning to prevent live children with draft parents so this should be a non-issue.