mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added highestCurrent function (Fixes #57)
This commit is contained in:
parent
1aff1a0000
commit
aea4b37760
@ -187,6 +187,13 @@ function (_) {
|
|||||||
defaultParams: [25]
|
defaultParams: [25]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
addFuncDef({
|
||||||
|
name: 'highestCurrent',
|
||||||
|
category: categories.Filter,
|
||||||
|
params: [ { name: "count", type: "int" } ],
|
||||||
|
defaultParams: [5]
|
||||||
|
});
|
||||||
|
|
||||||
_.each(categories, function(funcList, catName) {
|
_.each(categories, function(funcList, catName) {
|
||||||
categories[catName] = _.sortBy(funcList, 'name');
|
categories[catName] = _.sortBy(funcList, 'name');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user