This commit is contained in:
@@ -30,9 +30,7 @@ namespace AyaNova.PickList
|
|||||||
|
|
||||||
string PlIdSelectFragment = string.Empty;
|
string PlIdSelectFragment = string.Empty;
|
||||||
string ActiveSelectFragment = string.Empty;
|
string ActiveSelectFragment = string.Empty;
|
||||||
string ActiveWhereFragment = string.Empty;
|
string ActiveWhereFragment = string.Empty;
|
||||||
|
|
||||||
string TagSpecificSelectFragment = string.Empty;
|
|
||||||
string TagSpecificWhereFragment = string.Empty;
|
string TagSpecificWhereFragment = string.Empty;
|
||||||
|
|
||||||
//PROCESS ROW ID "VALUE" COLUMN
|
//PROCESS ROW ID "VALUE" COLUMN
|
||||||
@@ -75,9 +73,10 @@ namespace AyaNova.PickList
|
|||||||
|
|
||||||
//PROCESS TAG SPECIFIC QUERY
|
//PROCESS TAG SPECIFIC QUERY
|
||||||
//
|
//
|
||||||
if(HasTagSpecificQuery){
|
if(HasTagSpecificQuery){
|
||||||
//need a select and a where clause for tags apart from the rest
|
//get the tag column
|
||||||
TagSpecificSelectFragment=""
|
AyaPickListFieldDefinition tagColumn = pickList.ColumnDefinitions.FirstOrDefault(x => x.ColumnDataType == UiFieldDataType.Tags);
|
||||||
|
TagSpecificWhereFragment=$"(array_to_string({tagColumn.GetSqlValueColumnName()},',') like '%{tagSpecificQuery}%')";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user