# HG changeset patch # User Sebastien Jodogne # Date 1410438976 -7200 # Node ID ac36589f699e72829662851a7518bc7c0bfb9f47 # Parent ae9a83a6fa47eb0d99322e7c026bd83cbf24a0ac LastUpdate metadata is now always returned for patients, studies and series diff -r ae9a83a6fa47 -r ac36589f699e NEWS --- a/NEWS Thu Sep 11 14:15:30 2014 +0200 +++ b/NEWS Thu Sep 11 14:36:16 2014 +0200 @@ -1,8 +1,9 @@ Pending changes in the mainline =============================== -General -------- + +Major +----- * Creation of ZIP archives for media storage, with DICOMDIR * URIs to get all the children of a given resource in a single REST call @@ -16,10 +17,15 @@ * Configuration option to enable HTTP Keep-Alive * Configuration option to disable the logging of exported resources in "/exports" * Plugins can retrieve the path to Orthanc and to its configuration file +* "/tools/create-dicom" now accepts the "PatientID" DICOM tag (+ updated sample) +* Possibility to set HTTP headers from plugins +* "LastUpdate" metadata is now always returned for patients, studies and series + +Maintenance +----------- + * Refactoring of HttpOutput ("Content-Length" header is now always sent) -* "/tools/create-dicom" now accepts the "PatientID" DICOM tag (+ updated sample) * Upgrade to Mongoose 3.8 -* Possibility to set HTTP headers from plugins * Fixes for Visual Studio 2013 and Windows 64bit * Fix issue 16: Handling of "AT" value representations in JSON * Fix issue 17 diff -r ae9a83a6fa47 -r ac36589f699e OrthancServer/ServerIndex.cpp --- a/OrthancServer/ServerIndex.cpp Thu Sep 11 14:15:30 2014 +0200 +++ b/OrthancServer/ServerIndex.cpp Thu Sep 11 14:36:16 2014 +0200 @@ -861,6 +861,10 @@ type == ResourceType_Series) { result["IsStable"] = !unstableResources_.Contains(id); + + tmp = db_->GetMetadata(id, MetadataType_LastUpdate); + if (tmp.size() != 0) + result["LastUpdate"] = tmp; } return true;