Skip to content

Commit

Permalink
[ckan#3669] fix for datatablesview schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi authored and smotornyuk committed Jul 13, 2017
1 parent c37a60a commit 8a0afbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckanext/datatablesview/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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],
}
}
Expand Down

0 comments on commit 8a0afbb

Please sign in to comment.