Merged [2678] from peter.musgrave@magorcorp.com:

548# Link in IPR column should use an absolute, not relative URL.  This fixes issue .
 - Legacy-Id: 2681
Note: SVN reference [2678] has been migrated to Git commit 9afb929cddddeab17b56db39a8bec6a2b05e5e98
This commit is contained in:
Henrik Levkowetz 2010-11-11 02:37:52 +00:00
parent f733c1acc8
commit 63402823d6

View file

@ -508,10 +508,10 @@ class IdRfcWrapper:
self.rfc = rfc
if id:
iprs = IprDraft.objects.filter(document=self.id.tracker_id)
self.iprUrl = "../../ipr/search?option=document_search&id_document_tag=" + str(self.id.tracker_id)
self.iprUrl = "/ipr/search?option=document_search&id_document_tag=" + str(self.id.tracker_id)
elif rfc:
iprs = IprRfc.objects.filter(document=self.rfc.rfc_number)
self.iprUrl = "../../ipr/search?option=rfc_search&rfc_search=" + str(self.rfc.rfc_number)
self.iprUrl = "/ipr/search?option=rfc_search&rfc_search=" + str(self.rfc.rfc_number)
else:
raise ValueError("Construction with null id and rfc")
# iprs is a list of docs which contain IPR