B2019-085 multiple copies of library documents were added when importing procedure sets
This commit is contained in:
parent
0d6aa832e5
commit
fa61b9c2a4
@ -4797,7 +4797,7 @@ namespace VEPROMS
|
|||||||
{
|
{
|
||||||
foreach (DocumentInfo di in dil)
|
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))
|
if (!ExistingLibDocs.ContainsKey(keystr))
|
||||||
ExistingLibDocs.Add(keystr, di.DocID);
|
ExistingLibDocs.Add(keystr, di.DocID);
|
||||||
di.Dispose();
|
di.Dispose();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user