Skip to content

Commit

Permalink
[datapreview][xs]: bugfix to correctly map timestamp field type in CK…
Browse files Browse the repository at this point in the history
…AN to date field type in recline.
  • Loading branch information
rufuspollock authored and amercader committed Oct 8, 2012
1 parent 90d22cb commit eb8ae8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ckan/public/scripts/vendor/recline/recline.js
Expand Up @@ -93,8 +93,11 @@ this.recline.Backend.Ckan = this.recline.Backend.Ckan || {};

var CKAN_TYPES_MAP = {
'int4': 'integer',
'int8': 'integer',
'float8': 'float',
'text': 'string'
'text': 'string',
'json': 'object',
'timestamp': 'date'
};

}(jQuery, this.recline.Backend.Ckan));
Expand Down

0 comments on commit eb8ae8d

Please sign in to comment.