Browse Source

Fix other documents listing on doc comparision view

Jocelyn Delalande 7 years ago
parent
commit
e0d4b40bed
1 changed files with 1 additions and 0 deletions
  1. 1 0
      costs/views.py

+ 1 - 0
costs/views.py

@@ -54,6 +54,7 @@ def compare_document(request, pk, other_pk):
         'breadcrumbs': breadcrumbs,
         'document': doc,
         'other_document': other_doc,
+        'other_documents': Document.objects.exclude(pk=doc.pk),
         'deltas': doc.compare(other_doc),
     }
     return render(request, 'costs/document_compare.html', context)