Added step path data to resulting search items
Added code to handle when content audit that has 0 for delete status and a null action date Added code to handle content audit that does not contain any config information
This commit is contained in:
parent
ea8c38cd28
commit
c8618a23d4
@ -5265,7 +5265,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
itemInfo.AddContent(dr);
|
||||
itemInfo._SearchDVPath = dr.GetString("DVPath");
|
||||
//itemInfo._SearchPath = dr.GetString("Path");
|
||||
itemInfo._SearchPath = dr.GetString("Path");
|
||||
IsReadOnly = false;
|
||||
this.Add(itemInfo);
|
||||
IsReadOnly = true;
|
||||
|
@ -197,7 +197,7 @@ namespace Volian.Controls.Library
|
||||
ContentAuditInfo cai = lbChanges.SelectedItem as ContentAuditInfo;
|
||||
if (cai != null)
|
||||
{
|
||||
if (cai.DeleteStatus > 0)
|
||||
if (cai.DeleteStatus > 0 || (cai.DeleteStatus == 0 && cai.ActionWhen.Year == DateTime.MinValue.Year))
|
||||
MessageBox.Show("This item has been deleted.","Deleted Item",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
|
||||
else
|
||||
OnHistorySelectionChanged(new DisplayHistoryEventArgs(cai.ItemID));
|
||||
|
@ -380,9 +380,15 @@ namespace Volian.Print.Library
|
||||
string txt = ItemInfo.ConvertToDisplayText(cai.Text);
|
||||
if (MyProc.MyDocVersion.MultiUnitCount > 1)
|
||||
{
|
||||
System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
|
||||
xd.LoadXml(cai.Config);
|
||||
System.Xml.XmlNode nd = xd.SelectSingleNode("//MasterSlave");
|
||||
System.Xml.XmlNode nd;
|
||||
if (cai.Config == string.Empty)
|
||||
nd = null;
|
||||
else
|
||||
{
|
||||
System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
|
||||
xd.LoadXml(cai.Config);
|
||||
nd = xd.SelectSingleNode("//MasterSlave");
|
||||
}
|
||||
if (nd == null)
|
||||
txt += "\r\n\r\nApplicable to all units";
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user