Skip to content

Commit

Permalink
#972 Fix the clicks on dashboard items when related to an aggreation …
Browse files Browse the repository at this point in the history
…field of type number
  • Loading branch information
nadouani committed May 20, 2019
1 parent 4c75532 commit 6183567
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/app/scripts/services/GlobalSearchSrv.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@
} else {
switch(fieldDef.type) {
case 'number':
return Number.parseInt(value.id);
return {
value: Number.parseInt(value.id)
};
case 'boolean':
return value.id === 'true';
default:
Expand Down

0 comments on commit 6183567

Please sign in to comment.