From 5a8f81f57f1d34bec4675b255b48c5a1dc120bf5 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 31 Aug 2018 20:30:58 +0000 Subject: [PATCH] --- devdocs/todo.txt | 1 + server/AyaNova/biz/TagBiz.cs | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index aeb1b06d..694e87b0 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -25,6 +25,7 @@ Overall plan for now: anything standing in the way of making the initial client - Then test - V7 import tags and other objects make sure the proper attribution and dates are set in the event log, - Right now it looks like it just defaults to manager and today and created and that's it. + - Is 35char long enough for tags? Why is there a limit? Can it be 50? - Why are inactive users allowed to login? - Seed data is seeding users inactive, sb active - Event log make sure can set the date and time to prior values for importing diff --git a/server/AyaNova/biz/TagBiz.cs b/server/AyaNova/biz/TagBiz.cs index 19d54a8b..91eb1a4b 100644 --- a/server/AyaNova/biz/TagBiz.cs +++ b/server/AyaNova/biz/TagBiz.cs @@ -264,31 +264,31 @@ namespace AyaNova.Biz switch (SourceType) { case "GZTW.AyaNova.BLL.Region": - ShortTypeName = "region"; + ShortTypeName = "rgn"; break; case "GZTW.AyaNova.BLL.UnitModelCategory": - ShortTypeName = "unit-mdl-ctgry"; + ShortTypeName = "unitmdlctgry"; break; case "GZTW.AyaNova.BLL.UnitServiceType": - ShortTypeName = "unit-svc-typ"; + ShortTypeName = "unitsvtyp"; break; case "GZTW.AyaNova.BLL.WorkorderItemType": - ShortTypeName = "wo-item-typ"; + ShortTypeName = "woitemtyp"; break; case "GZTW.AyaNova.BLL.ClientGroup": - ShortTypeName = "clnt-grp"; + ShortTypeName = "clntgrp"; break; case "GZTW.AyaNova.BLL.WorkorderCategory": - ShortTypeName = "wo-ctgry"; + ShortTypeName = "woctgry"; break; case "GZTW.AyaNova.BLL.PartCategory": - ShortTypeName = "prt-ctgry"; + ShortTypeName = "prtctgry"; break; case "GZTW.AyaNova.BLL.DispatchZone": - ShortTypeName = "dspch-zn"; + ShortTypeName = "dspchzn"; break; case "GZTW.AyaNova.BLL.ScheduleableUserGroup": - ShortTypeName = "schd-usr-grp"; + ShortTypeName = "schdusrgrp"; break; }