This commit is contained in:
@@ -4,7 +4,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
internal class AttachmentDataList : DataListProcessingBase
|
||||
{
|
||||
public AttachmentDataList()
|
||||
public AttachmentDataList(long translationId)
|
||||
{
|
||||
DefaultListAType = AyaType.FileAttachment;
|
||||
SQLFrom = "from afileattachment";
|
||||
@@ -41,7 +41,7 @@ namespace AyaNova.DataList
|
||||
FieldKey = "object",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "afileattachment.AttachToObjectid",
|
||||
SqlValueColumnName = $"AYGETNAME(afileattachment.AttachToObjectid, afileattachment.attachtoatype,{CurrentUserTranslationId})",
|
||||
SqlValueColumnName = $"AYGETNAME(afileattachment.AttachToObjectid, afileattachment.attachtoatype,{translationId})",
|
||||
SqlATypeColumnName = "afileattachment.attachtoatype",
|
||||
Translate=true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user