Common/ObjectPropertyDialog: Fix duplicate attribute boxes by filtering by lang code
This commit is contained in:
parent
032fa2dd91
commit
37f3dc7d4f
@ -71,7 +71,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
|
|
||||||
Private Async Function GetAttributesForBusinessEntity(EntityId As Long) As Task(Of List(Of Attribute))
|
Private Async Function GetAttributesForBusinessEntity(EntityId As Long) As Task(Of List(Of Attribute))
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"SELECT * FROM VWIDB_BE_ATTRIBUTE WHERE BE_ID = {EntityId}"
|
Dim oSQL = $"SELECT * FROM VWIDB_BE_ATTRIBUTE WHERE BE_ID = {EntityId} AND LANG_CODE = '{_Environment.User.Language}'"
|
||||||
Dim oResult = Await _Client.GetDatatableFromIDBAsync(oSQL)
|
Dim oResult = Await _Client.GetDatatableFromIDBAsync(oSQL)
|
||||||
|
|
||||||
If oResult.OK = False Then
|
If oResult.OK = False Then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user