We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ec49b commit 5d42c26Copy full SHA for 5d42c26
backend/helpers/srvhelper/scope_config_service_helper.go
@@ -88,7 +88,7 @@ func (scopeConfigSrv *ScopeConfigSrvHelper[C, S, SC]) GetProjectsByScopeConfig(p
88
dal.From("_devlake_blueprint_scopes bps"),
89
dal.Join("LEFT JOIN _devlake_blueprints bp ON (bp.id = bps.blueprint_id)"),
90
dal.Join(join),
91
- dal.Where("bps.plugin_name = ? AND bps.connection_id = ?", pluginName, (*scopeConfig).ScopeConfigConnectionId()),
+ dal.Where("bps.plugin_name = ? AND bps.connection_id = ? AND scope_config_id = ?", pluginName, (*scopeConfig).ScopeConfigConnectionId(), (*scopeConfig).ScopeConfigId()),
92
))
93
projectScopeMap := make(map[string]*models.ProjectScope)
94
for _, bps := range bpss {
0 commit comments