SuiteCRM: Can we increase the Number of "Recently Viewed" items

Hello Folks,

We have got the requirement from Business to increase the no. of Recently Viewed items, as it is coming 5 items by default, can we increase the same upto 10.

Any thoughts…

Many thanks!

I think it should work like this:

Find this file:

themes/SuiteP/tpls/_headerModuleList.tpl

Create a copy of it in the custom folder (create any subdirectories as needed):

custom/themes/SuiteP/tpls/_headerModuleList.tpl

Now try editing these lines and seeing how it works:

https://github.com/salesagility/SuiteCRM/blob/master/themes/SuiteP/tpls/_headerModuleList.tpl#L112
https://github.com/salesagility/SuiteCRM/blob/master/themes/SuiteP/tpls/_headerModuleList.tpl#L219
https://github.com/salesagility/SuiteCRM/blob/master/themes/SuiteP/tpls/_headerModuleList.tpl#L366

Some of those are probably for mobile views, the others for desktop views. And it seems to count separately the recent records within the current module, and others.