case 4504

This commit is contained in:
2023-04-14 19:54:51 +00:00
parent 11c7637d4e
commit 85ccbdae58
6 changed files with 178 additions and 13 deletions

View File

@@ -14,18 +14,18 @@ namespace Sockeye.DataList
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
DefaultColumns = new List<string>() { "name", "Customer", "active" };
DefaultColumns = new List<string>() { "SubSite", "Customer", "active" };
DefaultSortBy = new Dictionary<string, string>() { { "Customer", "-" } };
FieldDefinitions = new List<DataListFieldDefinition>();
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "Name",
FieldKey = "name",
TKey = "SubSite",
FieldKey = "SubSite",
SockType = (int)SockType.Subscription,
UiFieldDataType = (int)UiFieldDataType.Text,
SqlIdColumnName = "asubscription.id",
SqlValueColumnName = "asubscription.name",
SqlValueColumnName = "asubscription.subsite",
IsRowId = true
});