Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.cpp @ 564:3a83c434b284 find-refactoring
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 20 Sep 2024 18:36:52 +0200 |
parents | cf6aea0bf438 |
children | 373cf7d747cc 22bbce1f88ff |
comparison
equal
deleted
inserted
replaced
563:cf6aea0bf438 | 564:3a83c434b284 |
---|---|
3588 " NULL::INT AS c6_int1, " | 3588 " NULL::INT AS c6_int1, " |
3589 " NULL::INT AS c7_int2, " | 3589 " NULL::INT AS c7_int2, " |
3590 " NULL::BIGINT AS c8_big_int1, " | 3590 " NULL::BIGINT AS c8_big_int1, " |
3591 " NULL::BIGINT AS c9_big_int2 " | 3591 " NULL::BIGINT AS c9_big_int2 " |
3592 "FROM Lookup " | 3592 "FROM Lookup " |
3593 " INNER JOIN Resources ON currentLevel.internalId = Lookup.internalId " | 3593 " INNER JOIN Resources currentLevel ON currentLevel.internalId = Lookup.internalId " |
3594 " INNER JOIN Resources parentLevel ON Lookup.parentId = parentLevel.internalId "; | 3594 " INNER JOIN Resources parentLevel ON currentLevel.parentId = parentLevel.internalId "; |
3595 } | 3595 } |
3596 | 3596 |
3597 // need one instance info ? | 3597 // need one instance info ? |
3598 if (request.level() != Orthanc::DatabasePluginMessages::ResourceType::RESOURCE_INSTANCE && | 3598 if (request.level() != Orthanc::DatabasePluginMessages::ResourceType::RESOURCE_INSTANCE && |
3599 request.retrieve_one_instance_metadata_and_attachments()) | 3599 request.retrieve_one_instance_metadata_and_attachments()) |