Merge pull request #837 from cvc90/Fix-Relative-URL-in-userNotifications

Changed the "absolute URL" target to "relative URL" in userNotifications.php for viewing reports
This commit is contained in:
jokob-sk
2024-10-12 18:03:21 +11:00
committed by GitHub

View File

@@ -127,7 +127,7 @@ require 'php/templates/header.php';
"render": function(data, type, row) {
if (data.includes("Report:")) {
var guid = data.split(":")[1].trim();
return `<a href="/report.php?guid=${guid}">Go to Report</a>`;
return `<a href="report.php?guid=${guid}">Go to Report</a>`;
} else {
return data;
}