Skip to content

Commit 753bd50

Browse files
authored
fix: include editorial docs in sent-to-rpc (ietf-tools#10605)
1 parent 4a66278 commit 753bd50

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/api/views_rpc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,19 +210,19 @@ def submitted_to_rpc(self, request):
210210
Those queries overreturn - there may be things, particularly not from the IETF stream that are already in the queue.
211211
"""
212212
ietf_docs = Q(states__type_id="draft-iesg", states__slug__in=["ann"])
213-
irtf_iab_ise_docs = Q(
213+
irtf_iab_ise_editorial_docs = Q(
214214
states__type_id__in=[
215215
"draft-stream-iab",
216216
"draft-stream-irtf",
217217
"draft-stream-ise",
218+
"draft-stream-editorial",
218219
],
219220
states__slug__in=["rfc-edit"],
220221
)
221-
# TODO: Need a way to talk about editorial stream docs
222222
docs = (
223223
self.get_queryset()
224224
.filter(type_id="draft")
225-
.filter(ietf_docs | irtf_iab_ise_docs)
225+
.filter(ietf_docs | irtf_iab_ise_editorial_docs)
226226
)
227227
serializer = self.get_serializer(docs, many=True)
228228
return Response(serializer.data)

0 commit comments

Comments
 (0)