Skip to content

Commit f5a0cd0

Browse files
committed
add RG in the search popup. fixed issue ietf-tools#1355. Commit ready for merge
- Legacy-Id: 8605
1 parent b74d4e7 commit f5a0cd0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ietf/ipr/search.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
from ietf.group.models import Group
1616
from ietf.doc.models import DocAlias
1717

18+
from itertools import chain
19+
20+
1821
def iprs_from_docs(docs):
1922
iprs = []
2023
for doc in docs:
@@ -41,6 +44,8 @@ def patent_file_search(url, q):
4144

4245
def search(request):
4346
wgs = Group.objects.filter(type="wg").select_related().order_by("acronym")
47+
rgs = Group.objects.filter(type="rg").select_related().order_by("acronym")
48+
wgs = chain(wgs,rgs)
4449

4550
search_type = request.GET.get("option")
4651
if search_type:

0 commit comments

Comments
 (0)