Account Unified Search Edit goes to Employees

If we do a unified search that returns an account then click on the edit icon it goes to Employees not Accounts

The record is 1 which is the administrator

Any idea why this is happening and how I can fix it?

This is happening on SuiteCRM Version 7.2.3

Hi Mike,

If you run a Quick Repair & Rebuild, If any changes appear on the Repair Results page, execute them.

If the issue still occurs, Could you provide a screenshot of the link that you are clicking for this issue to occur?
There was a similar issue in SugarCRM that occurred in places like Dashlets and the Listview.

I’ve done a repair and that made no difference

It turns out the record id in the link is the assigned_user_id of the link

I have attached a screenshot of the screen and the source code

Just revisited this

It is definitely a bug

It happens when assigned_user_name is the last item in listviewdefs with default marked as true