This commit is contained in:
@@ -73,7 +73,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aworkorderitemunit.notes"
|
||||
});
|
||||
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "WorkOrderItemUnitTags",
|
||||
FieldKey = "WorkOrderItemUnitTags",
|
||||
TKeySection = "WorkOrderItemUnit",
|
||||
UiFieldDataType = (int)UiFieldDataType.Tags,
|
||||
SqlValueColumnName = "aworkorderitemunit.tags"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "WorkOrderItemUnitCustom1", FieldKey = "workorderitemunitcustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aworkorderitemunit.customfields", TKeySection = "WorkOrderItemUnit" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "WorkOrderItemUnitCustom2", FieldKey = "workorderitemunitcustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aworkorderitemunit.customfields", TKeySection = "WorkOrderItemUnit" });
|
||||
@@ -158,8 +165,9 @@ namespace AyaNova.DataList
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Tags",
|
||||
TKey = "WorkOrderItemTags",
|
||||
FieldKey = "WorkOrderItemTags",
|
||||
TKeySection = "WorkOrderItem",
|
||||
UiFieldDataType = (int)UiFieldDataType.Tags,
|
||||
SqlValueColumnName = "aworkorderitem.tags"
|
||||
});
|
||||
@@ -290,6 +298,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "Tags",
|
||||
FieldKey = "workordertags",
|
||||
TKeySection = "WorkOrder",
|
||||
UiFieldDataType = (int)UiFieldDataType.Tags,
|
||||
SqlValueColumnName = "viewworkorder.tags"
|
||||
});
|
||||
@@ -526,7 +535,7 @@ namespace AyaNova.DataList
|
||||
//ClientCriteria format for this list is "OBJECTID,AYATYPE"
|
||||
var crit = (clientCriteria ?? "").Split(',').Select(z => z.Trim()).ToArray();
|
||||
if (crit.Length > 1)
|
||||
{
|
||||
{
|
||||
int nType = 0;
|
||||
if (!int.TryParse(crit[1], out nType)) return ret;
|
||||
AyaType forType = (AyaType)nType;
|
||||
|
||||
Reference in New Issue
Block a user