From 2bbc5d18b514b1cd8b9cd4fc5aaa46999c1efef9 Mon Sep 17 00:00:00 2001 From: Daniel Barbero Martin Date: Wed, 29 Jan 2020 10:15:31 +0100 Subject: [PATCH] fixed errors VC --- .../include/rest-api/models/VisualConsole/Item.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/rest-api/models/VisualConsole/Item.php b/pandora_console/include/rest-api/models/VisualConsole/Item.php index 4bbbe6b0e9..1d3bfe8f7a 100644 --- a/pandora_console/include/rest-api/models/VisualConsole/Item.php +++ b/pandora_console/include/rest-api/models/VisualConsole/Item.php @@ -1093,12 +1093,13 @@ class Item extends CachedModel $node = \metaconsole_get_connection_by_id( $linkedLayoutNodeId ); + + // TODO: Link to a public view. return \ui_meta_get_node_url( $node, 'network', - // TODO: Link to a public view. 'operation/visual_console/view', - [], + ['id' => $vcId], // No autologin from the public view. !$config['public_view'] );