Skip to content

Commit 471a1d9

Browse files
committed
GQL-92: Adds shortName parameter
1 parent ccd7911 commit 471a1d9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/cmr/concepts/granule.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default class Granule extends Concept {
4545
'polygon',
4646
'provider',
4747
'readable_granule_name',
48+
'short_name',
4849
'sort_key',
4950
'temporal',
5051
'two_d_coordinate_system'
@@ -78,6 +79,7 @@ export default class Granule extends Concept {
7879
'polygon',
7980
'provider',
8081
'readable_granule_name',
82+
'short_name',
8183
'sort_key',
8284
'temporal',
8385
'two_d_coordinate_system'
@@ -102,6 +104,7 @@ export default class Granule extends Concept {
102104
'polygon',
103105
'provider',
104106
'readable_granule_name',
107+
'short_name',
105108
'sort_key'
106109
])
107110
}

src/types/granule.graphql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ input GranulesInput {
129129
provider: [String]
130130
"Search for granules using the readable_granule_name parameter."
131131
readableGranuleName: [String]
132+
"Search by the short name of the granule."
133+
shortName: [String]
132134
"One or more sort keys can be specified to impact searching. Fields can be prepended with a '-' to sort in descending order. Ascending order is the default but + can be used to explicitly request ascending."
133135
sortKey: [String]
134136
"The temporal datetime has to be in yyyy-MM-ddTHH:mm:ssZ format."

0 commit comments

Comments
 (0)