From 2f32bc9e7e7fa9d84b74c67301fd70507e1fe7f5 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 26 Apr 2020 21:22:20 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.Dump/Dump.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.Dump/Dump.cs b/source/Plugins/AyaNova.Plugin.Dump/Dump.cs index f6f87d1..a3b6126 100644 --- a/source/Plugins/AyaNova.Plugin.Dump/Dump.cs +++ b/source/Plugins/AyaNova.Plugin.Dump/Dump.cs @@ -612,7 +612,7 @@ namespace AyaNova.Plugin.Dump WikiPage w= WikiPage.GetItem(tid); var content= w.GetContentAsString; - AyaFileList fl = AyaFileList.GetList(tid.ID); + AyaFileList fl = AyaFileList.GetList(w.ID); if (string.IsNullOrWhiteSpace(content) && fl.Count < 1) return; @@ -638,7 +638,7 @@ namespace AyaNova.Plugin.Dump //save each file plus file info into their own folder by ayafile id this is because ayafiles can be dupe names and we need the wiki info to fixup the last created date etc - var filePath = wikiOutputPath + Path.DirectorySeparatorChar + i.Id.ToString(); + var filePath = wikiOutputPath + Path.DirectorySeparatorChar + i.LT_O_AyaFile.Value.ToString(); makeFolderIfNotExist(filePath);//output/objectype/client.f861ec01-8bde-46e1-9849-fcee9b42f05e/files/d5461ec01-8bde-46e1-9849-fcee9b42f0ff34/ var af = AyaFile.GetItem(i.LT_O_AyaFile.Value);