Skip to content

Commit 5e39ea2

Browse files
committed
Fix bug with IPR search select box
- Legacy-Id: 3826
1 parent e20a963 commit 5e39ea2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ietf/ipr/search.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,8 @@ def search(request, type="", q="", id=""):
221221
else:
222222
raise Http404("Unexpected search type in IPR query: %s" % type)
223223
return django.http.HttpResponseRedirect(request.path)
224+
225+
if settings.USE_DB_REDESIGN_PROXY_CLASSES:
226+
for wg in wgs:
227+
wg.group_acronym = wg # proxy group_acronym for select box
224228
return render("ipr/search.html", {"wgs": wgs}, context_instance=RequestContext(request))

0 commit comments

Comments
 (0)