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:
Rich
2015-02-20 02:58:50 +00:00
parent ea8c38cd28
commit c8618a23d4
3 changed files with 11 additions and 5 deletions

View File

@@ -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