File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ export async function searchDiscussions(
250250 firstDiscussions : 1 ,
251251 lastComments : 1 ,
252252 lastReplies : 1 ,
253+ firstLabels : 100 ,
253254 includeIsAnswered : isAnsweredDiscussionFeatureSupported (
254255 notification . account ,
255256 ) ,
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export const QUERY_SEARCH_DISCUSSIONS = gql`
2727 $firstDiscussions: Int
2828 $lastComments: Int
2929 $lastReplies: Int
30+ $firstLabels: Int
3031 $includeIsAnswered: Boolean!
3132 ) {
3233 search(query: $queryStatement, type: DISCUSSION, first: $firstDiscussions) {
@@ -51,7 +52,7 @@ export const QUERY_SEARCH_DISCUSSIONS = gql`
5152 }
5253 }
5354 }
54- labels {
55+ labels(first: $firstLabels) {
5556 nodes {
5657 name
5758 }
You can’t perform that action at this time.
0 commit comments