Skip to content

Commit

Permalink
Support Date type
Browse files Browse the repository at this point in the history
All numeric query can be applied on date type field
  • Loading branch information
farhan687 committed Mar 17, 2017
1 parent 9c63bc1 commit 3682c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/queryBlocks/singlequery/singlequery.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export class SinglequeryComponent implements OnInit, OnChanges, AfterViewInit {
case 'byte':
case 'double':
case 'float':
case 'date':
obj.type = 'numeric';
break;
case 'text':
Expand Down
1 change: 1 addition & 0 deletions app/queryBlocks/types/types.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export class TypesComponent implements OnChanges {
case 'byte':
case 'double':
case 'float':
case 'date':
obj.type = 'numeric';
break;
case 'text':
Expand Down

0 comments on commit 3682c20

Please sign in to comment.