Order by "Due date" doesn't work

Hello!
When I try to order notes, emails, meetings, etc., in history panel for an account, I can’t order items by “Due date”. I can order them by “Date modified”, “Date created”, “Subject” successfully.
I also tried it in your demo site and it fails too.
Did someone else find this bug?
Does anyone know how to solve it?
Thank you very much.

What is your SuiteCRM version, please?

1 Like

I found this issue in version 7.10.15. I tried to solve it upgrading to 7.11.3, but it doesn’t work in any of them.

I remember seeing an Issue on the SuiteCRM Github a while ago which looked very similar to this…

1 Like

Still issue is there in 7.11.4

https://github.com/salesagility/SuiteCRM/issues/6040

1 Like

Hi pavithra,

thanks for bringing this to our attention, I’ve gone ahead and re-opened the issue.

2 Likes

Maybe it could help to solve this issue:

When I made a click on “Due Date” for the first time, it makes this request:

javascript:showSubPanel(‘history’,’/index.php?module=Accounts&action=DetailView&record=c76a4fc0-804e-ea91-48da-4a71997a167c&Accounts_history_CELL_offset=&inline=true&to_pdf=true&action=SubPanelViewer&subpanel=history&Accounts_history_CELL_ORDER_BY=date_due&layout_def_key=Accounts’,true);

This request works. It orders items by due date as requested.

But, If I make another clic “Due Date”, it creates a completely different request:

javascript:showSubPanel(‘history’,’/index.php?module=Accounts&action=SubPanelViewer&record=c76a4fc0-804e-ea91-48da-4a71997a167c&inline=1&to_pdf=true&subpanel=history&Accounts_history_CELL_ORDER_BY=date_due&layout_def_key=Accounts&ajaxSubpanel=true&_=1557741182569&Accounts_history_CELL_offset=&inline=true&to_pdf=true&action=SubPanelViewer&subpanel=history&Accounts_history_CELL_ORDER_BY=date_due&layout_def_key=Accounts’,true);

This request doesn’t do anything. It doesn’t work.
If I try more times, they won’t work either.

Thank you.