add assessed by to the results table
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<th>Specialty</th>
|
||||
<th>Name</th>
|
||||
<th>ID</th>
|
||||
<th>Assessed by</th>
|
||||
<th>Outcome</th>
|
||||
<th>Outcome (reason)</th>
|
||||
<th>Outcome (free text)</th>
|
||||
@@ -20,6 +21,7 @@
|
||||
<td>{{item.specialty}}</td>
|
||||
<td>{{item.name}}</td>
|
||||
<td>{{item.rcr_platform_id}}</td>
|
||||
<td>{{item.get_assessed_by|safe}}</td>
|
||||
<td>{{item.outcome}}</td>
|
||||
<td>{{item.outcome_reason}}</td>
|
||||
<td>{{item.outcome_free_text}}</td>
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@ def radiology_review(request):
|
||||
return redirect(f"{reverse('rcr:radiology_index_all_view')}?needs_review=true")
|
||||
|
||||
def radiology_results(request):
|
||||
items = Item.objects.all()
|
||||
items = Item.objects.all().prefetch_related("assessed_by")
|
||||
|
||||
return render(request, "rcr/results.html", {"items": items})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user