SuiteCRM icon indicating copy to clipboard operation
SuiteCRM copied to clipboard

Global Search doesn't display the right labels in dropdown items and module names

Open SinergiaCRM opened this issue 2 years ago • 1 comments

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.

Selection_618

Selection_619

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.

Selection_622

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

  1. Change the label of any item of the list industry_dom.
  2. Create an account record and set the changed item in Industry field.
  3. Add the Industry field in the Accounts listview.
  4. 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

SinergiaCRM avatar Aug 01 '22 15:08 SinergiaCRM

@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

QuickCRM avatar Aug 12 '22 06:08 QuickCRM

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

SuiteBot avatar Dec 08 '22 19:12 SuiteBot