I have custom module called - patients. on left panel where recent records from all modules gets display. Need to restrict it to only for patient module.
Thank you in advance.
@pravinp
Look at function ‘get_recently_viewed’ in file ‘modules/Trackers/Tracker.php’ . You can limit list modules in variable ‘$modules’.
1 Like
Thank you.
public function get_recently_viewed($user_id, $modules = <ADD Name of Module> )
made something like this, It worked.