Mercurial > hg > orthanc
diff OrthancServer/Database/Compatibility/ICreateInstance.cpp @ 3124:c0d7aee8c3f8 db-changes
Fix issue #58 (Patient recycling order should be defined by their received last instance)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Jan 2019 21:09:33 +0100 |
parents | f86ebf971a72 |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/OrthancServer/Database/Compatibility/ICreateInstance.cpp Mon Jan 14 16:23:08 2019 +0100 +++ b/OrthancServer/Database/Compatibility/ICreateInstance.cpp Tue Jan 15 21:09:33 2019 +0100 @@ -143,7 +143,7 @@ database.AttachChild(result.patientId_, result.studyId_); } - database.TagAsMostRecentPatient(result.patientId_); + database.TagMostRecentPatient(result.patientId_); // Sanity checks assert(result.patientId_ != -1);