Address comments

This commit is contained in:
Bond_009
2020-04-03 17:30:01 +02:00
parent f6c9a44703
commit 3161e85f76
5 changed files with 35 additions and 21 deletions

View File

@@ -5011,6 +5011,11 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
commandText += " order by ListOrder";
if (query.Limit > 0)
{
commandText += "LIMIT " + query.Limit;
}
using (var connection = GetConnection(true))
{
var list = new List<string>();
@@ -5049,6 +5054,11 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
commandText += " order by ListOrder";
if (query.Limit > 0)
{
commandText += "LIMIT " + query.Limit;
}
using (var connection = GetConnection(true))
{
var list = new List<PersonInfo>();