We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a35fd17 + a2e56c8 commit 33cb602Copy full SHA for 33cb602
ckanext/dataexplorer/public/vendor/recline/recline.js
@@ -5055,18 +5055,14 @@ this.recline.View = this.recline.View || {};
5055
return where_str;
5056
},
5057
get_field_type: function (key, value, model_fields) {
5058
- var num_types = ["number", "NUMBER",
5059
- "integer", "INTEGER",
5060
- "bigint", "BIGINT"];
5061
-
+ var string_types = ["string", "STRING"]
5062
var type = model_fields.get(key).attributes.type
5063
5064
- if (num_types.includes(type)){
5065
- return "num";
5066
- } else{
+ if (string_types.includes(type)){
5067
return "string";
+ } else{
+ return "num";
5068
}
5069
5070
5071
});
5072
})(jQuery, recline.View);
0 commit comments