This commit is contained in:
@@ -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
|
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: 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
|
todo: log failed
|
||||||
- Download attempts with wrong key
|
- Download attempts with wrong key
|
||||||
|
|||||||
@@ -239,6 +239,7 @@ namespace AyaNova.Biz
|
|||||||
await Search.ProcessUpdatedObjectKeywordsAsync(SearchParams);
|
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)
|
public async Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id)
|
||||||
{
|
{
|
||||||
var obj = await ct.WorkOrder.SingleOrDefaultAsync(m => m.Id == id);
|
var obj = await ct.WorkOrder.SingleOrDefaultAsync(m => m.Id == id);
|
||||||
|
|||||||
Reference in New Issue
Block a user