Skip to content

Commit 1a59adb

Browse files
committed
Fixing a couple of bugs found by running the test suite
- Legacy-Id: 2652
1 parent 014d499 commit 1a59adb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/idrfc/idrfc_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ def __init__(self, id, rfc):
510510
iprs = IprDraft.objects.filter(document=self.id.tracker_id)
511511
self.iprUrl = "../../ipr/search?option=document_search&id_document_tag=" + str(self.id.tracker_id)
512512
elif rfc:
513-
iprs = IprRfc.objects.filter(rfc_number=self.rfc.rfc_number)
514-
self.iprUrl = "../../ipr/search?option=rfc_search&rfc_search=" + str(elf.rfc.rfc_number)
513+
iprs = IprRfc.objects.filter(document=self.rfc.rfc_number)
514+
self.iprUrl = "../../ipr/search?option=rfc_search&rfc_search=" + str(self.rfc.rfc_number)
515515
else:
516516
raise ValueError("Construction with null id and rfc")
517517
# iprs is a list of docs which contain IPR

0 commit comments

Comments
 (0)