B2021-019: Summary of Changes report discrepancy from History tab & approval
This commit is contained in:
parent
877a7dfa7b
commit
8c861c6b23
@ -1044,7 +1044,9 @@ namespace Volian.Print.Library
|
||||
List<ContentAuditInfo> auditList1 = new List<ContentAuditInfo>();
|
||||
foreach (ContentAuditInfo cai in AuditList)
|
||||
{
|
||||
if (MyProc.MyLookup == null || MyProc.MyLookup.ContainsKey(cai.ItemID))
|
||||
if (MyProc.MyLookup == null
|
||||
|| (cai.ActionWhat == "Deleted" && !MyProc.MyLookup.ContainsKey(cai.ItemID))// B2021-019, if step was deleted, it won't be in the MyLookup
|
||||
|| MyProc.MyLookup.ContainsKey(cai.ItemID))
|
||||
{
|
||||
if (cai.ContentID != contentID) //new content
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user