How to display approvals in descending order based on 'sys_created_on' field on to-dos page of ESC?

Tejaswi Gundu
Tera Contributor

Hi all,

 I'm having a requirement where client wants to display newest approvals on the top followed by old approvals. I've checked the 'todopageutils' script include there it is displaying based on priority. I've changed that to 'orderByDesc('sys_created_on')' but it isn't working.

 

TejaswiGundu_0-1712051511279.png

 

 

Is there any solution for this? Please help me with this.

 

Thankyou!

2 REPLIES 2

bubuprasadswain
Tera Guru

@Tejaswi Gundu 
Try activating "sn_hr_sp.todos_config_display_with_priority" property and then modify the 'todopageutils' script include if that helps.

This was solved by activating that property and updating some of the orderBy methods in the todoPageUtils Script include