changeset 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
files Framework/Plugins/IndexBackend.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp	Fri Sep 20 18:19:16 2024 +0200
+++ b/Framework/Plugins/IndexBackend.cpp	Fri Sep 20 18:36:52 2024 +0200
@@ -3590,8 +3590,8 @@
              "  NULL::BIGINT AS c8_big_int1, "
              "  NULL::BIGINT AS c9_big_int2 "
              "FROM Lookup "
-             "  INNER JOIN Resources ON currentLevel.internalId = Lookup.internalId "
-             "  INNER JOIN Resources parentLevel ON Lookup.parentId = parentLevel.internalId ";
+             "  INNER JOIN Resources currentLevel ON currentLevel.internalId = Lookup.internalId "
+             "  INNER JOIN Resources parentLevel ON currentLevel.parentId = parentLevel.internalId ";
     }
 
     // need one instance info ?