Resolved an issue found generating the URL for some other node from some
other.
i.e.
While fetching the database nodes from the role nodes, it was generating
the wrong URL.
Used the parent_type in each node to identify maximum node URL level
using the priority set in the tree node hearachy information, and
generate URL up to that level only.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=429f585a62dcc07c2113bc205a809b4e46b2179e
Modified Files
--------------
.../server_groups/servers/static/js/variable.js | 7 +--
web/pgadmin/browser/static/js/node.ui.js | 2 +-
web/pgadmin/browser/templates/browser/js/node.js | 60 ++++++++++++++--------
web/pgadmin/static/css/wcDocker/Themes/pgadmin.css | 4 +-
4 files changed, 45 insertions(+), 28 deletions(-)