Skip to content

Commit

Permalink
Addressing code review comments #994
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Oct 16, 2024
1 parent 480a254 commit a6c3ee7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions grails-app/conf/data/mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
"organisationFacet": {
"type": "keyword"
},
"linkedOrganisationFacet": {
"type": "keyword"
},
"organisationSort": {
"type": "keyword",
"normalizer" : "case_insensitive_sort"
Expand All @@ -104,10 +101,6 @@
"organisationId": {
"type": "keyword",
"copy_to": ["organisationId"]
},
"organisationName": {
"type": "keyword",
"copy_to": ["organisationName"]
}
}
},
Expand Down
1 change: 1 addition & 0 deletions grails-app/domain/au/org/ala/ecodata/Organisation.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class Organisation {
url nullable: true
config nullable: true
sourceSystem nullable: true
externalIds nullable: true
hubId nullable: true, validator: { String hubId, Organisation organisation, Errors errors ->
GormMongoUtil.validateWriteOnceProperty(organisation, 'organisationId', 'hubId', errors)
}
Expand Down

0 comments on commit a6c3ee7

Please sign in to comment.