Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
dfb9388f
Commit
dfb9388f
authored
Sep 03, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spencer/filter-by-undefined' into undefined
parents
9440fcfd
c9eccf99
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
panels/table/micropanel.html
+1
-1
panels/table/module.js
+3
-0
No files found.
panels/table/micropanel.html
View file @
dfb9388f
...
...
@@ -13,7 +13,7 @@
</thead>
<tbody>
<tr
ng-repeat=
'field in micropanel.values'
>
<td>
{{{true: "__blank__",
false:field[0]}[field[0] == ""
]|tableTruncate:panel.trimFactor:3}}
</td>
<td>
{{{true: "__blank__",
false:field[0] }[field[0] == '' || field[0] == undefined
]|tableTruncate:panel.trimFactor:3}}
</td>
<td
style=
"width:40px"
>
<i
class=
"pointer icon-search"
ng-click=
"build_search(micropanel.field,field[0]);dismiss();"
></i>
<i
class=
"pointer icon-ban-circle"
ng-click=
"build_search(micropanel.field,field[0],true);dismiss();"
></i>
...
...
panels/table/module.js
View file @
dfb9388f
...
...
@@ -127,6 +127,9 @@ angular.module('kibana.table', [])
// This needs to be abstracted somewhere
if
(
_
.
isArray
(
value
))
{
query
=
"("
+
_
.
map
(
value
,
function
(
v
){
return
angular
.
toJson
(
v
);}).
join
(
" AND "
)
+
")"
;
}
else
if
(
_
.
isUndefined
(
value
))
{
query
=
'*'
;
negate
=
!
negate
;
}
else
{
query
=
angular
.
toJson
(
value
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment