From 0959c2bbfeae8323c72605e70140fbb8a03b1178 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 17 Jan 2019 18:55:47 +0000 Subject: [PATCH] --- devdocs/todo.txt | 3 +-- server/AyaNova/biz/FormAvailableFields.cs | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index cfc9ddc0..d6d190a5 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -16,8 +16,7 @@ SERVER - DO ALL THE THINGS!!!! - all the way down to DOCS MANUAL below which isn't urgent and go back to client stuff - - USER object add the custom fields code as in Widget - + - JWT issues?? - potentially lots of issues, look into it as using them kind of mindlessly right now. It could be simply that people are attempting to do other things I am not but to be safe read the criticism and see if any of it applies: diff --git a/server/AyaNova/biz/FormAvailableFields.cs b/server/AyaNova/biz/FormAvailableFields.cs index c718bba4..1585b337 100644 --- a/server/AyaNova/biz/FormAvailableFields.cs +++ b/server/AyaNova/biz/FormAvailableFields.cs @@ -60,12 +60,12 @@ namespace AyaNova.Biz l.Add(new FormField("WidgetCustom16", false, true, true)); break; - case USER_FORM_KEY: + case USER_FORM_KEY: l.Add(new FormField("Name", true, false));//is not shared localized text key and not hideable as it is in the validation rules for widget l.Add(new FormField("EmployeeNumber")); l.Add(new FormField("Roles", false, false)); - l.Add(new FormField("UserNotes","UserNotes")); - l.Add(new FormField("UserType",false,false)); + l.Add(new FormField("UserNotes", "UserNotes")); + l.Add(new FormField("UserType", false, false)); l.Add(new FormField("Active", true, false)); l.Add(new FormField("Tags", true, false)); l.Add(new FormField("UserCustom1", false, true, true));