diff --git a/grails-app/controllers/au/org/ala/ecodata/MetadataController.groovy b/grails-app/controllers/au/org/ala/ecodata/MetadataController.groovy index f886a7cdb..165ac5f81 100644 --- a/grails-app/controllers/au/org/ala/ecodata/MetadataController.groovy +++ b/grails-app/controllers/au/org/ala/ecodata/MetadataController.groovy @@ -108,7 +108,7 @@ class MetadataController { } else { // Legacy support - model = metadataService.getOutputDataModel(outputName) + model = metadataService.getOutputDataModelByName(outputName) if (expandList && expandList == 'true') { annotatedModel = metadataService.annotatedOutputDataModel(outputName, true) } else {