B2019-085 multiple copies of library documents were added when importing procedure sets

This commit is contained in:
John Jenko 2019-06-10 19:55:31 +00:00
parent 0d6aa832e5
commit fa61b9c2a4

View File

@ -4797,7 +4797,7 @@ namespace VEPROMS
{
foreach (DocumentInfo di in dil)
{
string keystr = di.LibTitle+"_"+di.DTS.ToString();
string keystr = di.LibTitle; // B2019-085 don't add the date/time to the title of the existing list of lib docs - was causing multiple copies of the lib doc to be added
if (!ExistingLibDocs.ContainsKey(keystr))
ExistingLibDocs.Add(keystr, di.DocID);
di.Dispose();