Skip to content

Commit

Permalink
fix key column.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt committed Apr 8, 2024
1 parent 426a8ff commit d910c0c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
* Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. www.erpya.com
* Copyright (C) 2018-Present E.R.P. Consultores y Asociados, C.A. www.erpya.com
* Contributor(s): Edwin Betancourt [email protected] https://github.com/EdwinBetanc0urt
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -74,7 +74,7 @@ export const zoomInOptionItem = {

let currentValue = value

let columnName = reference.keyColumnName
let columnName = reference.key_column_name
.match(/(\.)(\b\w*)/ig)
.toString()
.replace('.', '')
Expand All @@ -87,7 +87,7 @@ export const zoomInOptionItem = {
}
}

// TODO: Evaluate reference.keyColumnName: AD_Ref_List.Value
// TODO: Evaluate reference.key_column_name: AD_Ref_List.Value
if (fieldAttributes.displayType === LIST.id) {
columnName = 'AD_Reference_ID'
// TODO: Direct query is deprecated
Expand Down

0 comments on commit d910c0c

Please sign in to comment.