Skip to content

Commit c36fc19

Browse files
committed
Fixed typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9344
1 parent 1570e91 commit c36fc19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/views_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def sort_key(d):
301301
else:
302302
res.append(d.get_state().order if d.get_state() else None)
303303
elif query["sort"] == "ipr":
304-
res.append(len(d.iprs))
304+
res.append(len(d.ipr))
305305
elif query["sort"] == "ad":
306306
if rfc_num != None:
307307
res.append(int(rfc_num))

0 commit comments

Comments
 (0)