Commit 866f48f9 by ubhatnagar

Added pipe in All Format list.

parent 024a3195
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
All format All format
</li> </li>
<li ng-show="current.includeAll"> <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> </li>
</ul> </ul>
<div class="clearfix"></div> <div class="clearfix"></div>
......
...@@ -271,6 +271,10 @@ function (angular, _, kbn) { ...@@ -271,6 +271,10 @@ function (angular, _, kbn) {
}).join('|') + ')'; }).join('|') + ')';
break; break;
} }
case 'pipe': {
allValue = _.pluck(variable.options, 'text').join('|');
break;
}
default: { default: {
allValue = '{'; allValue = '{';
allValue += _.pluck(variable.options, 'text').join(','); allValue += _.pluck(variable.options, 'text').join(',');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment