From daa2c7990c47bc7e07324ef4daeea58ccb16deaa Mon Sep 17 00:00:00 2001 From: David Maisonave <47364845+David-Maisonave@users.noreply.github.com> Date: Tue, 5 Nov 2024 19:57:13 -0500 Subject: [PATCH] Moved report to sub folder. --- plugins/DupFileManager/DupFileManager.js | 3 +- plugins/DupFileManager/DupFileManager.py | 10 +- .../DupFileManager/DupFileManager_config.py | 8 +- plugins/DupFileManager/advance_options.html | 2 +- .../report/DuplicateTagScenes.html | 116 ++++++++++++++++++ 5 files changed, 131 insertions(+), 8 deletions(-) create mode 100644 plugins/DupFileManager/report/DuplicateTagScenes.html diff --git a/plugins/DupFileManager/DupFileManager.js b/plugins/DupFileManager/DupFileManager.js index fc315f6..994a4ab 100644 --- a/plugins/DupFileManager/DupFileManager.js +++ b/plugins/DupFileManager/DupFileManager.js @@ -32,7 +32,8 @@ var LocalDuplicateReport = RunPluginDupFileManager("getLocalDupReportPath", "json"); var LocalDuplicateReportPath = "file://" + LocalDuplicateReport.Path; console.log(LocalDuplicateReportPath); - AdvanceMenuOptionUrl = LocalDuplicateReportPath.replace("DuplicateTagScenes.html", "DupFileManager/advance_options.html"); + AdvanceMenuOptionUrl = LocalDuplicateReportPath.replace("report\\DuplicateTagScenes.html", "advance_options.html"); + console.log(AdvanceMenuOptionUrl); LocalDupReportExist = LocalDuplicateReport.LocalDupReportExist; return LocalDuplicateReportPath; } diff --git a/plugins/DupFileManager/DupFileManager.py b/plugins/DupFileManager/DupFileManager.py index e6b4c23..8225fbd 100644 --- a/plugins/DupFileManager/DupFileManager.py +++ b/plugins/DupFileManager/DupFileManager.py @@ -526,7 +526,7 @@ def getHtmlReportTableRow(qtyResults, tagDuplicates): htmlReportPrefix = htmlReportPrefix.replace('http://127.0.0.1:9999/graphql', stash.url) htmlReportPrefix = htmlReportPrefix.replace('http://localhost:9999/graphql', stash.url) if tagDuplicates == False: - htmlReportPrefix = htmlReportPrefix.replace('name="AdvanceMenu"', "hidden") + htmlReportPrefix = htmlReportPrefix.replace('