This commit is contained in:
2020-03-18 18:36:25 +00:00
parent ea235a9a0c
commit 62807f62b1

View File

@@ -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 ");