Skip to content

Commit 73664a4

Browse files
committed
Reverted to [9345], the fixed fix of a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9347 Note: SVN reference [9345] has been migrated to Git commit 249bcf6
1 parent d7a28fe commit 73664a4

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(d.related_ipr().count())
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)