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(
250
250
firstDiscussions : 1 ,
251
251
lastComments : 1 ,
252
252
lastReplies : 1 ,
253
+ firstLabels : 100 ,
253
254
includeIsAnswered : isAnsweredDiscussionFeatureSupported (
254
255
notification . account ,
255
256
) ,
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export const QUERY_SEARCH_DISCUSSIONS = gql`
27
27
$firstDiscussions: Int
28
28
$lastComments: Int
29
29
$lastReplies: Int
30
+ $firstLabels: Int
30
31
$includeIsAnswered: Boolean!
31
32
) {
32
33
search(query: $queryStatement, type: DISCUSSION, first: $firstDiscussions) {
@@ -51,7 +52,7 @@ export const QUERY_SEARCH_DISCUSSIONS = gql`
51
52
}
52
53
}
53
54
}
54
- labels {
55
+ labels(first: $firstLabels) {
55
56
nodes {
56
57
name
57
58
}
You can’t perform that action at this time.
0 commit comments