From 3028d5078d66de650ae9831aa6d1369ac991b7f7 Mon Sep 17 00:00:00 2001 From: "emrah.tokalak" Date: Sun, 1 Oct 2023 22:30:13 +0300 Subject: [PATCH] fix: workflow module page list issue when using PostgreSQL #14334 --- .../OrchardCore.Workflows/Controllers/WorkflowTypeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowTypeController.cs b/src/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowTypeController.cs index 42f011057c0..d7aebabf203 100644 --- a/src/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowTypeController.cs +++ b/src/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowTypeController.cs @@ -128,7 +128,7 @@ public async Task Index(WorkflowTypeIndexOptions options, PagerPa var sqlBuilder = dialect.CreateBuilder(_session.Store.Configuration.TablePrefix); sqlBuilder.Select(); sqlBuilder.Distinct(); - sqlBuilder.Selector(nameof(WorkflowIndex.WorkflowTypeId)); + sqlBuilder.Selector(nameof(WorkflowIndex), nameof(WorkflowIndex.WorkflowTypeId), _session.Store.Configuration.Schema); sqlBuilder.Table(nameof(WorkflowIndex), alias: null, _session.Store.Configuration.Schema); var workflowTypeIdsWithInstances = await connection.QueryAsync(sqlBuilder.ToSqlString());