CoreBOSBB

Full Version: Global search fields displaly per module
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I want to modify the fields that display in specific module when using global search.
Didn't find any Global Variable for that.

Back in the Vtiger 5.x days I use to modify Modules/Home/UnifiedSearch.php and change the select query.
Dose is still apply?
https://corebos.com/documentation/doku.php?id=en:adminmanual:businessmappings:list_columns

> If you need to modify the columns that appear in the Global Search for the module, create a section where parentmodule is set to Home.
(12-08-2020, 12:12 PM)joebordes Wrote: [ -> ]https://corebos.com/documentation/doku.php?id=en:adminmanual:businessmappings:list_columns

> If you need to modify the columns that appear in the Global Search for the module, create a section where parentmodule is set to Home.

I follow the doc, and fail to make it work from the Global search. It work fine from other module.
Reproduce the problem in Corebos demo system.

My BM HelpDesk_ListColumns link:
http://demo.corebos.com/index.php?module=cbMap&action=DetailView&viewname=0&start=&record=43464&;

When:


Quote:...
<relatedlists>

   <relatedlist>
   <module>Account</module>
...
Work fine from account, show the fields I selected.

But when:

Quote:<relatedlists>

   <relatedlist>
   <module>Home</module>
In Global search it show all the default fields of HelpDesk module
fixed it here: https://github.com/tsolucio/corebos/commit/32d95f30d9d64a63f451ff7cd047784afb0d7651

It is now Utilities module. We moved the global search to utilities because we had some users deactivating Home and breaking the Global Search which was tied to the Home page. We moved it to the utilities directory which is where it should be, not related to Home but we didn't update the code accordingly. I updated the demo and it works as expected.
Thank you its display the fields, but there is a new problem.

No all the fields content apper.
The same BM to module accounts show the content.

BM link
https://demo.corebos.com/index.php?module=cbMap&parenttab=ptab&action=DetailView&record=43464

Attach 2 screen shut from account and from the global search.
Thank you it solve most of the problem.

Still have two issue:

1)
It don't display the "Related To"
I use:

Code:
<label>Related To</label>
      <name>parent_id_display</name>

2)
The Ticket tittle in the search result is not click able (not a link to the ticket)
it is the fieldname: parent_id
set the linkfield directive
Thank you it work!
:-)