-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue where object name was provided at start of additional fie…
…ld names
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** | ||
* @description : | ||
* @author : [email protected] | ||
* @last modified on : 08-13-2024 | ||
* @last modified on : 08-30-2024 | ||
* @last modified by : [email protected] | ||
* Modifications Log | ||
* Ver Date Author Modification | ||
|
@@ -348,7 +348,7 @@ public with sharing class ListViewCore extends ListViewAbstract { | |
|
||
ListViewHelper.StandardColumn newColumn = new ListViewHelper.StandardColumn(); | ||
newColumn.type = fieldData.getType(); | ||
newColumn.fieldNameOrPath = fieldName; | ||
newColumn.fieldNameOrPath = fieldName.removeStart(listView.Object_Name__c + '.'); //must remove the object name if its present. i.e. If we are looking for Account.Name on the Account just make it Name | ||
newColumn.hidden = false; | ||
newColumn.label = label; | ||
|
||
|