This commit is contained in:
2020-05-11 18:02:50 +00:00
parent 600885422a
commit eac0fac976
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
{
var obj = await ct.WorkOrder.SingleOrDefaultAsync(m => m.Id == id);