Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/webui
diff options
context:
space:
mode:
authorFrank Bergkemper <frank.bergkemper@bareos.com>2022-11-07 14:28:11 +0300
committerFrank Bergkemper <frank.bergkemper@bareos.com>2022-11-07 14:28:11 +0300
commite2fdc8e9882d81f2212959e946ab277170dad9a3 (patch)
tree33978ba9c2cdf778a14329682ea2c0bc75d40390 /webui
parentcda7bdc0b540fa46a6784ce473cee143826a0a87 (diff)
webui: fix pool link in job details formatter
Adds missing query parameter. Fixes #1489: broken storage pool link
Diffstat (limited to 'webui')
-rw-r--r--webui/module/Job/view/job/job/details.phtml2
-rw-r--r--webui/module/Job/view/job/job/index.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/webui/module/Job/view/job/job/details.phtml b/webui/module/Job/view/job/job/details.phtml
index 760feab51..c7698c09c 100644
--- a/webui/module/Job/view/job/job/details.phtml
+++ b/webui/module/Job/view/job/job/details.phtml
@@ -155,7 +155,7 @@ $this->headTitle($title);
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo addslashes($this->translate("Pool")); ?></th>');
- html.push('<td><a href="<?php echo $this->basePath() . '/pool/details/'; ?>' + row.poolname + '">' + row.poolname + '</a></td>');
+ html.push('<td><a href="<?php echo $this->basePath() . '/pool/details/?pool='; ?>' + row.poolname + '">' + row.poolname + '</a></td>');
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo addslashes($this->translate("Scheduled")); ?></th>');
diff --git a/webui/module/Job/view/job/job/index.phtml b/webui/module/Job/view/job/job/index.phtml
index 56a2e83e6..89b49f20c 100644
--- a/webui/module/Job/view/job/job/index.phtml
+++ b/webui/module/Job/view/job/job/index.phtml
@@ -310,7 +310,7 @@ $this->headTitle($title);
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo addslashes($this->translate("Pool")); ?></th>');
- html.push('<td><a href="<?php echo $this->basePath() . '/pool/details/'; ?>' + row.poolname + '">' + row.poolname + '</a></td>');
+ html.push('<td><a href="<?php echo $this->basePath() . '/pool/details/?pool='; ?>' + row.poolname + '">' + row.poolname + '</a></td>');
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo addslashes($this->translate("Scheduled")); ?></th>');