Contacts
This commit is contained in:
@@ -493,11 +493,11 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
List<String> filter = new List<String>();
|
||||
|
||||
// Vehicle Id.
|
||||
String includedIds = prm.IncludedIds.Concat(",");
|
||||
String includedIds = prm.IdsIncluded.Concat(",");
|
||||
String colVehicle_Id = SbmDbDfn.GetColumnNameQual(SbmDbDfn.ColumnIdx.SaVehicle_Id, aliasVehicle);
|
||||
if (!StringUtil.IsEmpty(includedIds))
|
||||
filter.Add($"{colVehicle_Id} IN ({includedIds})");
|
||||
String excludedIds = prm.ExcludedIds.Concat(",");
|
||||
String excludedIds = prm.IdsExcluded.Concat(",");
|
||||
if (!StringUtil.IsEmpty(excludedIds))
|
||||
filter.Add($"{colVehicle_Id} NOT IN ({excludedIds})");
|
||||
//---------------------------------------------------------------
|
||||
@@ -780,7 +780,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Populate filter.
|
||||
query.Filters.AddRange(GetVehicleQueryFilter(prm));
|
||||
|
||||
if (prm.IncludedIds.Count != 1)
|
||||
if (prm.IdsIncluded.Count != 1)
|
||||
{
|
||||
// Configure sort sequence.
|
||||
foreach (String sortColumn in GetVehicleSortColumns(prm))
|
||||
|
||||
Reference in New Issue
Block a user