diff --git a/build.gradle b/build.gradle index 462107b1..aa6e87ff 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ buildscript { - version "5.2.1" + version "5.2.2" group "au.org.ala" } diff --git a/grails-app/controllers/au/org/ala/specieslist/SpeciesListItemController.groovy b/grails-app/controllers/au/org/ala/specieslist/SpeciesListItemController.groovy index 9e7bf075..92b02187 100644 --- a/grails-app/controllers/au/org/ala/specieslist/SpeciesListItemController.groovy +++ b/grails-app/controllers/au/org/ala/specieslist/SpeciesListItemController.groovy @@ -147,7 +147,7 @@ class SpeciesListItemController { distinctCount: queryService.getDistinctCountByParams(requestParams, baseQueryAndParams), hasUnrecognised: noMatchCount > 0, keys: queryService.getSpeciesListKVPKeysByDataResourceUid(requestParams.id), - downloadReasons: null, + downloadReasons: loggerService.getReasons(), users: queryService.getUsersForList(), userId: authService.getUserId(), facets: queryService.generateFacetValues(fqs, baseQueryAndParams, requestParams.id, requestParams.q, maxLengthForFacet),