aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla')
-rw-r--r--src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py b/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py
index b62004c..2ec3600 100644
--- a/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py
+++ b/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py
@@ -57,10 +57,11 @@ def _get_infos_of_type(cursor: sqlite3.Cursor, info_type: t.Type[AnyInfoVar],) \
ive.repo,
ive.repo_iteration
FROM
- item_versions_extra AS ive
- JOIN items AS i USING (item_id)
+ item_versions_extra AS ive
+ JOIN items AS i USING (item_id)
+ LEFT JOIN mapping_statuses AS ms USING (item_id)
WHERE
- i.type = ?;
+ i.type = ? AND COALESCE(ms.enabled != 'D', TRUE);
''',
(info_type.type.value[0].upper(),)
)