From 8a0afbbfc921297e880595e99e85f6248586a796 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Fri, 7 Jul 2017 13:08:14 -0400 Subject: [PATCH] [#3669] fix for datatablesview schema --- ckanext/datatablesview/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ckanext/datatablesview/plugin.py b/ckanext/datatablesview/plugin.py index 87f95c6f639..f5cb7031401 100644 --- a/ckanext/datatablesview/plugin.py +++ b/ckanext/datatablesview/plugin.py @@ -8,6 +8,7 @@ default = toolkit.get_validator(u'default') boolean_validator = toolkit.get_validator(u'boolean_validator') +ignore_missing = toolkit.get_validator(u'ignore_missing') class DataTablesView(p.SingletonPlugin): @@ -46,7 +47,7 @@ def info(self): u'default_title': p.toolkit._(u'Table'), u'schema': { u'responsive': [default(False), boolean_validator], - u'show_fields': [], + u'show_fields': [ignore_missing], u'filterable': [default(True), boolean_validator], } }