diff OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 1703:b80e76dd1d56 db-changes

ordered-slices continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Oct 2015 16:10:35 +0200
parents 9980875edc7c
children 2b812969e136
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestResources.cpp	Mon Oct 12 17:49:23 2015 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestResources.cpp	Tue Oct 13 16:10:35 2015 +0200
@@ -1101,6 +1101,9 @@
     ServerIndex& index = OrthancRestApi::GetIndex(call);
     SliceOrdering ordering(index, id);
 
+    Json::Value result;
+    ordering.Format(result);
+    call.GetOutput().AnswerJson(result);
   }