From eac0fac976324f0603357b97c5fab47eb6c3b942 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 11 May 2020 18:02:50 +0000 Subject: [PATCH] --- devdocs/todo.txt | 2 +- server/AyaNova/biz/WorkOrderBiz.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 8d13444e..66fb50cd 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -37,7 +37,7 @@ todo: Routes should check rights *BEFORE* they fetch the object, not after, all This is out of order as it triggers a db call even if they have no rights to do it todo: all biz objects "ExistsAsync" is this required / necessary? - +todo: Search get search result for workorder descendents doesn't fit into existing system due to it being a biz object wide feature but workorder having sub-get results todo: log failed - Download attempts with wrong key diff --git a/server/AyaNova/biz/WorkOrderBiz.cs b/server/AyaNova/biz/WorkOrderBiz.cs index 6f0890c6..e9e1d428 100644 --- a/server/AyaNova/biz/WorkOrderBiz.cs +++ b/server/AyaNova/biz/WorkOrderBiz.cs @@ -239,6 +239,7 @@ namespace AyaNova.Biz await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams); } +//TODO: This is going to have to handle descendents or there needs to be a change to include a subitem or something in case of workorder public async Task GetSearchResultSummary(long id) { var obj = await ct.WorkOrder.SingleOrDefaultAsync(m => m.Id == id);