My Filters button is dead for non-admin users

Hi,

I am using suitecrm 7.9.2 on CentOS 7.3, MySQL 5.7, PHP 7.1 and Apache 2.4.

The My Filters option works well for Admin user. When I click on the My Filters option, it shows up the list of the filters that I have saved. But for regular users, My Filters button is dead. It does not do anything. If I click on that there is no response.

For regular users I see some additional elements like the one below which I don’t see for admin users:

<a href="javascript:void(0);" onclick=" $(document).openComposeViewModal(this);" data-module="" data-record-id="" data-module-name="" data-email-address=""></a>

I think there is some bug related to this component.

In Admin users login, I can see another dropdown called “Bulk Action”. Whereas in the regular users login I see “Email”. Somewhere there is some broken code which is messing up the entire filter section of the listview for regular users. It is working fine for Admin users.

Since I am not a regular PHP developer I am unable to find which tpl file to edit.

Any pointers in the right direction are welcome.

Thanks and Regards,
Madhur

Can you please try this in the live demo to see if the problem is just in your system, or for everybody?

demo.suiteondemand.com

No, it is working fine in the demo version.

Should I upgrade and check?

I upgraded the instance to the latest version, but still I am facing issues with the filters.

I am attaching some screen shots, please let me know which tpl files need to be tweaked to get this thing working.

In the Regular_User.png file the Bulk Import option is not showing up. It shows Email as on option. The Admin_User.png shows the Bulk Import option.

Regular User:

Admin User:

What are all those small icons you have on each line, to the right of the"edit" pencil?

Do you have customizations there, or add-ons? I would try disabling those to see if it fixes the problem.

Hi pgr,

Yes, I have some customization in the Lead module. Those small icons are basically for logging a call, convert lead option and create an appointment directly from the list view rather than going to the detail view and choosing these options from the action menu.

I have removed all these customizations from the listviewdefs.php file and also commented the process_record logic hooks for these buttons.

I did a QRR after removing the customizations. Restarted the web services to clear any cached files. cleared the cache from the browser. But still the issue persists.

I think the issue is somewhere else. This instance was actually upgraded from 7.6 to the current version. Do you think while upgrading something might have gone wrong?

Please see the screen shot:

It’s possible that the upgrade scripts didn’t update a file because they were trying not to overwrite your customizations, and maybe you’re left with an older version of a relevant file…