changeset 562:13234fec9438 find-refactoring

fix
author Alain Mazy <am@orthanc.team>
date Wed, 18 Sep 2024 14:54:09 +0200
parents 6c76a050a341
children cf6aea0bf438
files Framework/Plugins/IndexBackend.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp	Wed Sep 18 09:49:18 2024 +0200
+++ b/Framework/Plugins/IndexBackend.cpp	Wed Sep 18 14:54:09 2024 +0200
@@ -3396,7 +3396,7 @@
                 "FROM Lookup "
                 "INNER JOIN Resources currentLevel ON Lookup.internalId = currentLevel.internalId "
                 "INNER JOIN Resources parentLevel ON currentLevel.parentId = parentLevel.internalId "
-                "INNER JOIN Metadata ON Metadata.id = currentLevel.parentId ";
+                "INNER JOIN Metadata ON Metadata.id = parentLevel.parentId ";
         }
       }
     }