Skip to content

Commit

Permalink
datatablesview: fix for displaying gettext info in null cells
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jul 17, 2023
1 parent ab41237 commit 287cb52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckanext/datatablesview/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@


def datatablesview_null_label():
return _(config.get('ckan.datatables.null_label', u''))
label = config.get('ckan.datatables.null_label')
return _(label) if label else ''

0 comments on commit 287cb52

Please sign in to comment.