B2018-118 additional change to fix incorrect ordinal for enhanced tab if no related source caution/note found
This commit is contained in:
@@ -3766,7 +3766,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
if (caut.IsCaution && enIsCaution) ord++;
|
if (caut.IsCaution && enIsCaution) ord++;
|
||||||
if (caut.IsNote && !enIsCaution) ord++;
|
if (caut.IsNote && !enIsCaution) ord++;
|
||||||
if (caut.ItemID == srcItem.ItemID) return ord;
|
if (caut.ItemID == srcItem.ItemID) return ord==0?null:ord;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hls.Notes != null && hls.Notes.Count > 0)
|
if (hls.Notes != null && hls.Notes.Count > 0)
|
||||||
@@ -3775,7 +3775,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
if (note.IsCaution && enIsCaution) ord++;
|
if (note.IsCaution && enIsCaution) ord++;
|
||||||
if (note.IsNote && !enIsCaution) ord++;
|
if (note.IsNote && !enIsCaution) ord++;
|
||||||
if (note.ItemID == srcItem.ItemID) return ord;
|
if (note.ItemID == srcItem.ItemID) return ord==0?null:ord;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user