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

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