Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancFindRequestHandler.cpp @ 5639:b6a6179a2a69
TimezoneOffsetFromUTC is now ignored for C-Find matching
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 24 May 2024 15:11:28 +0200 |
parents | 48b8dae6dc77 |
children | f7adfb22e20e |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancFindRequestHandler.cpp Wed May 22 16:06:30 2024 +0200 +++ b/OrthancServer/Sources/OrthancFindRequestHandler.cpp Fri May 24 15:11:28 2024 +0200 @@ -439,9 +439,11 @@ const DicomElement& element = query.GetElement(i); const DicomTag tag = element.GetTag(); + // remove tags that are not used for matching if (element.GetValue().IsNull() || tag == DICOM_TAG_QUERY_RETRIEVE_LEVEL || - tag == DICOM_TAG_SPECIFIC_CHARACTER_SET) + tag == DICOM_TAG_SPECIFIC_CHARACTER_SET || + tag == DICOM_TAG_TIMEZONE_OFFSET_FROM_UTC) // time zone is not directly used for matching. Once we support "Timezone query adjustment", we may use it to adjust date-time filters but for now, just ignore it { continue; }