mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 23:37:01 -06:00
Added pipe in All Format list.
This commit is contained in:
parent
024a319512
commit
866f48f92d
@ -186,7 +186,7 @@
|
||||
All format
|
||||
</li>
|
||||
<li ng-show="current.includeAll">
|
||||
<select class="input-medium tight-form-input last" ng-model="current.allFormat" ng-change="runQuery()" ng-options="f for f in ['glob', 'wildcard', 'regex wildcard', 'regex values', 'lucene']"></select>
|
||||
<select class="input-medium tight-form-input last" ng-model="current.allFormat" ng-change="runQuery()" ng-options="f for f in ['glob', 'wildcard', 'regex wildcard', 'regex values', 'lucene', 'pipe']"></select>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
|
@ -271,6 +271,10 @@ function (angular, _, kbn) {
|
||||
}).join('|') + ')';
|
||||
break;
|
||||
}
|
||||
case 'pipe': {
|
||||
allValue = _.pluck(variable.options, 'text').join('|');
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
allValue = '{';
|
||||
allValue += _.pluck(variable.options, 'text').join(',');
|
||||
|
Loading…
Reference in New Issue
Block a user