diff --git a/grails-app/controllers/au/org/ala/images/SearchController.groovy b/grails-app/controllers/au/org/ala/images/SearchController.groovy index c30993ba..237e1e89 100644 --- a/grails-app/controllers/au/org/ala/images/SearchController.groovy +++ b/grails-app/controllers/au/org/ala/images/SearchController.groovy @@ -121,6 +121,7 @@ class SearchController { redirect(action:'list', params:[q:params.q, fq:params.fq]) } + @AlaSecured def download(){ response.setHeader("Content-Disposition", "attachment; filename=\"images.zip\"") response.setHeader("Content-Type", "application/zip") diff --git a/grails-app/views/search/list.gsp b/grails-app/views/search/list.gsp index b47f193b..225ec42d 100644 --- a/grails-app/views/search/list.gsp +++ b/grails-app/views/search/list.gsp @@ -32,10 +32,19 @@ - - - - + + + + + + + + + + @@ -85,6 +94,22 @@ +