diff OrthancServer/ServerIndex.cpp @ 1128:514492f61ead

author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Sep 2014 15:22:21 +0200
parents bf67431a7383
children f167b672db94
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Fri Sep 05 17:12:08 2014 +0200
+++ b/OrthancServer/ServerIndex.cpp	Mon Sep 08 15:22:21 2014 +0200
@@ -601,9 +601,9 @@
       }
 
       // Mark the parent resources of this instance as unstable
-      MarkAsUnstable(patient, ResourceType_Patient);
+      MarkAsUnstable(series, ResourceType_Series);
       MarkAsUnstable(study, ResourceType_Study);
-      MarkAsUnstable(series, ResourceType_Series);
+      MarkAsUnstable(patient, ResourceType_Patient);
 
       t.Commit(instanceSize);