Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/Compatibility/GenericFind.cpp @ 5840:b24b61331566 find-refactoring tip
pagination: fixed compat with ODBC that does not support ExtendedFind
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 21 Oct 2024 18:24:09 +0200 |
parents | 3b7dce0e43c6 |
children |
comparison
equal
deleted
inserted
replaced
5837:82fc95cc168c | 5840:b24b61331566 |
---|---|
121 !capabilities.HasLabelsSupport()) | 121 !capabilities.HasLabelsSupport()) |
122 { | 122 { |
123 throw OrthancException(ErrorCode_NotImplemented, "The database backend doesn't support labels"); | 123 throw OrthancException(ErrorCode_NotImplemented, "The database backend doesn't support labels"); |
124 } | 124 } |
125 | 125 |
126 if (!request.GetOrdering().empty()) | |
127 { | |
128 throw OrthancException(ErrorCode_NotImplemented, "The database backend doesn't support ordering"); | |
129 } | |
130 | |
126 if (IsRequestWithoutContraint(request) && | 131 if (IsRequestWithoutContraint(request) && |
127 !request.GetOrthancIdentifiers().HasPatientId() && | 132 !request.GetOrthancIdentifiers().HasPatientId() && |
128 !request.GetOrthancIdentifiers().HasStudyId() && | 133 !request.GetOrthancIdentifiers().HasStudyId() && |
129 !request.GetOrthancIdentifiers().HasSeriesId() && | 134 !request.GetOrthancIdentifiers().HasSeriesId() && |
130 !request.GetOrthancIdentifiers().HasInstanceId()) | 135 !request.GetOrthancIdentifiers().HasInstanceId()) |