Skip to content

Commit

Permalink
1.7.2
Browse files Browse the repository at this point in the history
minor bug fix for DOIs so they are included in downloads
  • Loading branch information
djtfmartin committed Jul 19, 2017
1 parent 2f5ed63 commit 7c2bc03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CollectoryGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CollectoryGrailsPlugin {
def authenticateService

// the plugin version
def version = "1.7.1"
def version = "1.7.2"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "2.3 > *"
// resources that are excluded from plugin packaging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class LookupController {
switch (format) {
case "tab separated": return "${name}\t${citation}\t${rights}\t${link}\t${dataGen}\t${infoWithheld}\t${downloadLimit}\t${pg.uid}\t${doi}"
case "map": return ['name': name, 'citation': citation, 'rights': rights, 'link': link,
'dataGeneralizations': dataGen, 'informationWithheld': infoWithheld, 'downloadLimit': downloadLimit, 'uid': pg.uid, 'doi':doi]
'dataGeneralizations': dataGen, 'informationWithheld': infoWithheld, 'downloadLimit': downloadLimit, 'uid': pg.uid, 'DOI':doi]
case "array": return [name, citation, rights, link, dataGen, infoWithheld, downloadLimit, pg.uid, doi]
}
}
Expand Down

0 comments on commit 7c2bc03

Please sign in to comment.