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
  • Loading branch information
flash1293 authored Jul 23, 2019
1 parent 9d7cf53 commit f80ff8f
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 f80ff8f

Please sign in to comment.