diff --git a/ProcessMaker/Traits/HideSystemResources.php b/ProcessMaker/Traits/HideSystemResources.php index 6428fb930c..b8d1923c58 100644 --- a/ProcessMaker/Traits/HideSystemResources.php +++ b/ProcessMaker/Traits/HideSystemResources.php @@ -92,7 +92,11 @@ public function scopeNonSystem($query) return $query ->where('is_template', false) ->when(CachedSchema::hasColumn('data_sources', 'asset_type'), function ($query) { - return $query->whereNull('asset_type'); + // Allow PM Block data connectors to be listed alongside regular ones. + return $query->where(function ($query) { + $query->whereNull('asset_type') + ->orWhere('asset_type', 'PM_BLOCK'); + }); }) ->whereDoesntHave('categories', function ($query) { $query->where('is_system', true);