SuiteCRM
SuiteCRM copied to clipboard
Global Search doesn't display the right labels in dropdown items and module names
In Global Search results the values of dropdown fields are not properly displayed. The view shows the internal list values instead of the external labels. If internal and external values are the same this may not be noticed, so just change a label to test it.
In the second capture, in Industry field Apparel-label should be displayed instead of Apparel, which is the internal value.
It happens something similar with the module names at the top of the panels: the internal name is displayed. This can be easily tested with a module whose external label and internal name are different.
Issue
Global search doesn't display properly dropdown labels and module names
Expected Behavior
All fields and modules should display it's language label.
Actual Behavior
The internal name of the dropdown ítems and the modules are displayed.
Possible Fix
Add some modification in the "lib/Search/UI/templates/search.results.tpl" to display the right labels.
Steps to Reproduce
- Change the label of any item of the list industry_dom.
- Create an account record and set the changed item in Industry field.
- Add the Industry field in the Accounts listview.
- Search for that record in the global search and observe that it isn't displayed the updated label of the item.
Context
In many cases, internal list values don't match external labels. Think of non English speaking users, for instance. Showing internal values is both annoying and confusing.
Your Environment
SuiteCRM Version used: Version 7.12.6 Browser name and version: Versión 100.0.4896.88 (Build oficial) (64 bit Environment name and version: MySQL, PHP 7 Operating System and version: Ubuntu 20.04
@johnM2401 Could you please consider non English-speaking users when you define priorities. internal value can make some sense in English but not in other languages.
Thanks
This issue has been mentioned on SuiteCRM. There might be relevant details there:
https://community.suitecrm.com/t/search-panels-do-not-display-custom-module-labels-deployed-from-module-builder-package/87236/7