From f6428834b80e5d0d4aab1855aa60ace3ebef9c2c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 11 Apr 2013 17:20:21 +0200 Subject: Fix availability of full export link on tables (closes #535) --- ishtar_common/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/widgets.py') diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 06d6f20f0..3ecdad310 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -248,7 +248,7 @@ class JQueryJqGrid(forms.RadioSelect): u"
\n"% (name, name) encoding = settings.ENCODING or 'utf-8' rendered += u"
\n" % name - if unicode(self.source_full): + if unicode(self.source_full) and unicode(self.source_full) != 'None': rendered += u"%s (%s) %s - "\ u"%s\n" % ( unicode(_("Export as CSV")), encoding, unicode(self.source), -- cgit v1.2.3