Skip to content

Commit 70c3b5e

Browse files
authored
small cypher fix (#7303)
1 parent 62f8423 commit 70c3b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/infrahub/core/diff/query/artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ async def query_init(self, db: InfrahubDatabase, **kwargs: Any) -> None: # noqa
148148
)
149149
RETURN
150150
target_artifact,
151-
(trel1.status = "active" AND trel2.status = "active" AND drel1.status = "active" AND drel1.status = "active") AS artifact_is_active
151+
(trel1.status = "active" AND trel2.status = "active" AND drel1.status = "active" AND drel2.status = "active") AS artifact_is_active
152152
ORDER BY trel1.from DESC, trel2.from DESC, drel1.from DESC, drel2.from DESC,
153153
trel1.status ASC, trel2.status ASC, drel1.status ASC, drel2.status ASC
154154
LIMIT 1

0 commit comments

Comments
 (0)