Skip to content

Commit

Permalink
replace all occurences of placeholder in drilldown url template (#41673
Browse files Browse the repository at this point in the history
…) (#41770)
  • Loading branch information
flash1293 authored Jul 23, 2019
1 parent 2f31e58 commit 175c278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/graph/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ app.controller('graphuiPlugin', function (

//== Drill-down functionality ==
const defaultKibanaQuery = ',query:(query_string:(analyze_wildcard:!t,query:\'*\'))';
const drillDownRegex = /\{\{gquery\}\}/;
const drillDownRegex = /\{\{gquery\}\}/g;

$scope.checkForKibanaUrl = function () {
$scope.suggestTemplateFix = $scope.newUrlTemplate.url === $scope.lastPastedURL &&
Expand Down

0 comments on commit 175c278

Please sign in to comment.