From 3c5a506a9fa68a163a96d3f47a3f076aa1e5a14e Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:33:42 -0700 Subject: [PATCH] fix: broken dql doc link (#7887) (#7895) (cherry picked from commit 92a9592acc7f353e2b4a69eb6285a1e3de1f7351) Signed-off-by: Yulong Ruan Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../query_string/language_service/get_query_control_links.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/data/public/query/query_string/language_service/get_query_control_links.tsx b/src/plugins/data/public/query/query_string/language_service/get_query_control_links.tsx index 9b92d22ae432..75fcabe27fd4 100644 --- a/src/plugins/data/public/query/query_string/language_service/get_query_control_links.tsx +++ b/src/plugins/data/public/query/query_string/language_service/get_query_control_links.tsx @@ -49,7 +49,7 @@ export const QueryControls = (props: { setIsLanguageReferenceOpen(false); }; - const osdDQLDocs = 'https://opensearch.org/docs/2.16/dashboards/dql)'; + const osdDQLDocs = props.services.docLinks?.links.opensearchDashboards.dql.base; const dqlFullName = (