This commit is contained in:
@@ -18,20 +18,19 @@ namespace AyaNova.PickList
|
||||
internal static string Build(IAyaPickList pickList, List<string> templateColumnNames, string autoCompleteQuery, string tagSpecificQuery, bool IncludeInactive)
|
||||
{
|
||||
|
||||
|
||||
//determine this in advance as it will be used in a loop later
|
||||
bool HasAutoCompleteQuery = !string.IsNullOrWhiteSpace(autoCompleteQuery);
|
||||
bool HasTagSpecificQuery = !string.IsNullOrWhiteSpace(tagSpecificQuery);
|
||||
|
||||
|
||||
//lists to collect the clauses so to avoid comma fuckery
|
||||
//Variables to collect the data needed to create the actual clauses later
|
||||
List<string> lSelect = new List<string>();
|
||||
string ActiveWhereFragment = string.Empty;
|
||||
List<string> lWhere = new List<string>();
|
||||
List<string> lOrderBy = new List<string>();
|
||||
|
||||
string PlIdSelectFragment = string.Empty;
|
||||
string ActiveSelectFragment = string.Empty;
|
||||
|
||||
string ActiveWhereFragment = string.Empty;
|
||||
|
||||
//PROCESS ROW ID "VALUE" COLUMN
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user