From 47855eae0bdb91f3d5e550fc51c36bda9d133ac0 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Wed, 14 Jul 2021 17:41:21 +0530 Subject: [PATCH] Allow node ajax functions to send URL params. --- web/pgadmin/browser/static/js/node_ajax.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/pgadmin/browser/static/js/node_ajax.js b/web/pgadmin/browser/static/js/node_ajax.js index 71fa3a1d5..c2d390f3c 100644 --- a/web/pgadmin/browser/static/js/node_ajax.js +++ b/web/pgadmin/browser/static/js/node_ajax.js @@ -86,7 +86,9 @@ export function getNodeAjaxOptions(url, nodeObj, treeNodeInfo, itemNodeData, par var data = cacheNode.cache(nodeObj.type + '#' + url, treeNodeInfo, cacheLevel); if (_.isUndefined(data) || _.isNull(data)) { - api.get(fullUrl) + api.get(fullUrl, { + params: otherParams.urlParams, + }) .then((res)=>{ data = res.data.data; cacheNode.cache(nodeObj.type + '#' + url, treeNodeInfo, cacheLevel, data);