This commit is contained in:
2020-03-18 18:07:16 +00:00
parent 6936186806
commit ea235a9a0c

View File

@@ -197,6 +197,9 @@ namespace AyaNova.PickList
//WHERE //WHERE
//there is a condition where there is no where (inactive=true and no query of any kind)
if (lWhere.Count > 0 || HasTagSpecificQuery || IncludeInactive)
{
sb.Append(" where "); sb.Append(" where ");
if (HasTagSpecificQuery) if (HasTagSpecificQuery)
@@ -239,6 +242,7 @@ namespace AyaNova.PickList
sb.Length -= 5; sb.Length -= 5;
} }
} }
}
//ORDER BY //ORDER BY
sb.Append(" order by "); sb.Append(" order by ");