From 29d216b5af25aaf67846d6fabcb0d9339837e0d1 Mon Sep 17 00:00:00 2001 From: QBai <31238531+qifeng-bai@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:09:25 +1000 Subject: [PATCH] 5.2.2 release revert downloadReasons change --- build.gradle | 2 +- .../au/org/ala/specieslist/SpeciesListItemController.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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),