Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancWebDav.cpp @ 4623:95ffe3b6ef7c db-changes
handling of revisions for metadata
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Apr 2021 17:13:03 +0200 |
parents | 94147ce2f097 |
children | f7d5372b59b3 |
comparison
equal
deleted
inserted
replaced
4622:9086aeb9d9d2 | 4623:95ffe3b6ef7c |
---|---|
67 const std::string& publicId, | 67 const std::string& publicId, |
68 ResourceType level, | 68 ResourceType level, |
69 MetadataType metadata) | 69 MetadataType metadata) |
70 { | 70 { |
71 std::string value; | 71 std::string value; |
72 if (context.GetIndex().LookupMetadata(value, publicId, level, metadata)) | 72 int64_t revision; // Ignored |
73 if (context.GetIndex().LookupMetadata(value, revision, publicId, level, metadata)) | |
73 { | 74 { |
74 try | 75 try |
75 { | 76 { |
76 target = boost::posix_time::from_iso_string(value); | 77 target = boost::posix_time::from_iso_string(value); |
77 return; | 78 return; |