We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70181e9 + b414403 commit fc4daa5Copy full SHA for fc4daa5
indigo_app/views/documents.py
@@ -60,7 +60,7 @@ def get_context_data(self, **kwargs):
60
if plugin:
61
for a in amendments:
62
amending_work = Work.objects.get(frbr_uri=a['amending_work']['frbr_uri'])
63
- a['amending_work']['numbered_title_localised'] = plugin.work_numbered_title(amending_work)
+ a['amending_work']['numbered_title_localised'] = plugin.work_numbered_title(amending_work) or amending_work.title
64
context['amendments_json'] = json.dumps(amendments)
65
66
context['form'] = DocumentForm(instance=doc)
0 commit comments