diff --git a/resources/frontend_client/app/query_builder/filter_widget.react.js b/resources/frontend_client/app/query_builder/filter_widget.react.js index 78a666cccb8fd93a3570c424037e483a96cbe0d3..098dd3b356a3e33882e1816af82407978f4707ee 100644 --- a/resources/frontend_client/app/query_builder/filter_widget.react.js +++ b/resources/frontend_client/app/query_builder/filter_widget.react.js @@ -144,7 +144,9 @@ export default React.createClass({ if (value && value.length > 0) { // value casting. we need the value in the filter to be of the proper type - if (this.state.fieldDef.base_type === "IntegerField" || + if (this.state.fieldDef.special_type === "timestamp_milliseconds" || + this.state.fieldDef.special_type === "timestamp_seconds") { + } else if (this.state.fieldDef.base_type === "IntegerField" || this.state.fieldDef.base_type === "SmallIntegerField" || this.state.fieldDef.base_type === "BigIntegerField") { value = parseInt(value);