From 62807f62b1ae56344110e3fdaaa094338c18104d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 18 Mar 2020 18:36:25 +0000 Subject: [PATCH] --- server/AyaNova/PickList/PickListSqlBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/AyaNova/PickList/PickListSqlBuilder.cs b/server/AyaNova/PickList/PickListSqlBuilder.cs index 677eafa0..8c51f6dc 100644 --- a/server/AyaNova/PickList/PickListSqlBuilder.cs +++ b/server/AyaNova/PickList/PickListSqlBuilder.cs @@ -113,7 +113,7 @@ namespace AyaNova.PickList // if (o.ColumnDataType == UiFieldDataType.Tags) { - lSelect.Add($"(array_to_string({valueColumnName},',')"); + lSelect.Add($"(array_to_string({valueColumnName},','))"); //tags can order by without the arraytostring lOrderBy.Add(valueColumnName); @@ -198,7 +198,7 @@ namespace AyaNova.PickList //WHERE //there is a condition where there is no where (inactive=true and no query of any kind) - if (lWhere.Count > 0 || HasTagSpecificQuery || IncludeInactive) + if (lWhere.Count > 0 || HasTagSpecificQuery || IncludeInactive==false) { sb.Append(" where ");