Modify aygetname postgres function to handle translation of items that do not have a name, also code to back it at server
This commit is contained in:
@@ -495,7 +495,7 @@ namespace AyaNova.Biz
|
||||
var subs = await ct.NotifySubscription.Where(z => z.EventType == NotifyEventType.CSRAccepted).ToListAsync();
|
||||
string SourceName = string.Empty;
|
||||
if (subs.Count > 0)
|
||||
SourceName = BizObjectNameFetcherDirect.Name(BizType, o.Id, ct);
|
||||
SourceName = BizObjectNameFetcherDirect.Name(BizType, o.Id, UserTranslationId, ct);
|
||||
foreach (var sub in subs)
|
||||
{
|
||||
//not for inactive users
|
||||
@@ -522,7 +522,7 @@ namespace AyaNova.Biz
|
||||
var subs = await ct.NotifySubscription.Where(z => z.EventType == NotifyEventType.CSRRejected).ToListAsync();
|
||||
string SourceName = string.Empty;
|
||||
if (subs.Count > 0)
|
||||
SourceName = BizObjectNameFetcherDirect.Name(BizType, o.Id, ct);
|
||||
SourceName = BizObjectNameFetcherDirect.Name(BizType, o.Id, UserTranslationId, ct);
|
||||
foreach (var sub in subs)
|
||||
{
|
||||
//not for inactive users
|
||||
|
||||
Reference in New Issue
Block a user