mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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.
This commit is contained in:
@@ -81,7 +81,7 @@ function($, _, pgAdmin, Backbone, Backform, Alertify, Node) {
|
||||
null, url, this.field.get('node_data'),
|
||||
this.field.get('url_with_id') || false, node_info
|
||||
]),
|
||||
cache_level = this.field.get('cache_level'),
|
||||
cache_level = this.field.get('cache_level') || node.type,
|
||||
cache_node = this.field.get('cache_node');
|
||||
|
||||
cache_node = (cache_node && pgAdmin.Browser.Nodes['cache_node']) || node;
|
||||
|
||||
Reference in New Issue
Block a user