-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Issue
Current MHCLG organisation is not created in https://github.com/alphagov/content-data-api/blob/main/app/domain/finders/all_organisations.rb and consequently not returned by the /organisations endpoint used by Content Data Admin.
Old MHCLG exists:
{:id=>"2e7868a8-38f5-4ff6-b62f-9a15d1c22d28", :name=>"Ministry of Housing, Communities & Local Government (2018 to 2021)", :acronym=>nil},
Cause
This is because Content Data considers it's document type as "substitute" https://content-data.publishing.service.gov.uk/metrics/government/organisations/ministry-of-housing-communities-local-government?date_range=past-30-days
Workaround
The data for current MHCLG documents is in Content Data and it's possible to filter by the organisation by amending query string parameters but it's not present in the Organisation filter options. https://content-data.publishing.service.gov.uk/content?submitted=true&date_range=past-30-days&search_term=&document_type=all&organisation_id=1390d07f-12b3-4f55-9dd5-fec5fd9e3649