Skip to content

Commit

Permalink
fix: workflow module page list issue when using PostgreSQL OrchardCMS…
Browse files Browse the repository at this point in the history
  • Loading branch information
emrah.tokalak committed Oct 1, 2023
1 parent 2580252 commit 3028d50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public async Task<IActionResult> 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<string>(sqlBuilder.ToSqlString());
Expand Down

0 comments on commit 3028d50

Please sign in to comment.