From 8a50feabc19ff9def58b456426c29a25177d974a Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Tue, 19 Jun 2018 17:08:58 +0100 Subject: [PATCH] add missing render title method to all submission title --- opentech/apply/funds/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/apply/funds/tables.py b/opentech/apply/funds/tables.py index 2b92950f4..785f61530 100644 --- a/opentech/apply/funds/tables.py +++ b/opentech/apply/funds/tables.py @@ -30,7 +30,7 @@ def render_title(record): class SubmissionsTable(tables.Table): """Base table for listing submissions, do not include admin data to this table""" - title = tables.LinkColumn('funds:submissions:detail', args=[A('pk')], orderable=True, attrs={'td': {'data-tooltip': lambda record: record.title, 'class': 'js-title'}}) + title = tables.LinkColumn('funds:submissions:detail', text=render_title, args=[A('pk')], orderable=True, attrs={'td': {'data-tooltip': lambda record: record.title, 'class': 'js-title'}}) submit_time = tables.DateColumn(verbose_name="Submitted") phase = tables.Column(verbose_name="Status", order_by=('status',)) stage = tables.Column(verbose_name="Type", order_by=('status',)) -- GitLab