Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp @ 5405:62bb63346185
All 'expand' GET arguments now accepts expand=true and expand=false values + /studies/../instances now supports expand=false
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 17 Oct 2023 15:06:11 +0200 |
parents | b5f2122a1334 |
children | 4be5f117aa0d |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp Tue Oct 17 10:31:21 2023 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp Tue Oct 17 15:06:11 2023 +0200 @@ -657,7 +657,7 @@ return; } - bool expand = call.HasArgument("expand"); + bool expand = call.HasArgument("expand") && call.GetBooleanArgument("expand", true); Json::Value v = Json::arrayValue;