Skip to content

Commit

Permalink
added status to return json (#1964)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Nov 27, 2018
1 parent fab6127 commit 68bdd87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grails-app/services/org/bbop/apollo/FeatureService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,9 @@ public void setTranslationEnd(Transcript transcript, int translationEnd) {
if (gsolFeature.symbol) {
jsonFeature.put(FeatureStringEnum.SYMBOL.value, gsolFeature.symbol);
}
if (gsolFeature.status) {
jsonFeature.put(FeatureStringEnum.STATUS.value, gsolFeature.status.value);
}
if (gsolFeature.description) {
jsonFeature.put(FeatureStringEnum.DESCRIPTION.value, gsolFeature.description);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ class RequestHandlingService {
fetchMode 'featureLocations.sequence', FetchMode.JOIN
fetchMode 'featureProperties', FetchMode.JOIN
fetchMode 'featureDBXrefs', FetchMode.JOIN
fetchMode 'status', FetchMode.JOIN
fetchMode 'parentFeatureRelationships', FetchMode.JOIN
fetchMode 'childFeatureRelationships', FetchMode.JOIN
fetchMode 'childFeatureRelationships.parentFeature', FetchMode.JOIN
Expand Down

0 comments on commit 68bdd87

Please sign in to comment.