Skip to content

Commit

Permalink
Merge pull request #4936 from Nehimyeah/4870-enable-ods-views
Browse files Browse the repository at this point in the history
[#4870] Create recline_view on ods files by default
  • Loading branch information
smotornyuk committed Aug 27, 2019
2 parents 3160346 + d9bb9b1 commit 4528938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/reclineview/plugin.py
Expand Up @@ -118,7 +118,7 @@ def can_view(self, data_dict):
return True
resource_format = resource.get('format', None)
if resource_format:
return resource_format.lower() in ['csv', 'xls', 'xlsx', 'tsv']
return resource_format.lower() in ['csv', 'xls', 'xlsx', 'ods', 'tsv']
else:
return False

Expand Down

0 comments on commit 4528938

Please sign in to comment.