I have customized the module Call quite a bit, but users and leads where showing normally in the search invitees section. Now only contactsā¦I have nothing neither in PHP log or suitecrm log.
Donāt know what ti fix nowā¦please help!!!
@antonino
Please give some more information.
- How you ācustomized the module Callā?
- What do you see now (screenshot)?
well in the creation of a call as you see from the screenshots, the bottom search shows only contacts. I have added a custom search āseleziona invitati da hcoā in which you select a hospital āsecurity groupā and searching you get another list with the doctors of that hospital ācontactsā. To do this last thing I have reproduced the invitees_search function of suitecrm and the related object building a custom action between controller and my custom js.
The thing is that everything was working normallyā¦than for some reason it is not showing the users and leads in the bottom search by name/surname/email and in the logs I get nothingā¦
please help!!!
It might be related to the call related to the search which response gives only contacts, the call is:
index.php?entryPoint=json_server
@antonino
What happen if you push the standard for the Suite button āsearchā without parameters? If you see contacts only I think that itās conflict custom and system search buttons.
ok, I think that at this point I should try adding the leads and users table as well in my custom action, then weāll seeā¦will let you know soon, thanks!
actually I fixed it in the jsclass_scheduler.js in the meeting moduleā¦there was a var:
var query={āmodulesā:[āContactsā]ā¦
changed it in:
var query={āmodulesā:[āUsersā,āContactsā,āLeadsā]ā¦
and after repair, removing cache, adding permissionsā¦it finally worked !
Hope this helps someone, thanks anyway @p.konetskiy
@antonino
I recommend to check file jsclass_scheduler.js because the array āmodulesā has all list modules default present. The code copy from the file:
...
var query = {
"modules":["Users","Contacts","Leads"],
"group":"and",
"field_list":['id','full_name','email1','phone_work'],
"conditions":conditions
...
I see, mine ha a var query commented with all 3 the modules, and another var query with only contactsā¦
donāt know why really! anyway thanks, I will check this before putting everything in production!!!