Order activity log view (commerce_activity) has default sort set to Log ID, but table settings has default sort set to date (created).
It causes problems when the log entries are recorded in a short time interval (in the same second), e.g. if order transition state is forwarded to a next state in the event subscribers and several log entries are saved at once.

To solve this small problem, we need to set default sort for table to None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

martin_klima created an issue. See original summary.

martin_klima’s picture

Status: Active » Needs review
FileSize
357 bytes

Status: Needs review » Needs work

The last submitted patch, 2: fix_activity_log_sort_3013720_2.patch, failed testing. View results

martin_klima’s picture

Status: Needs work » Needs review
FileSize
361 bytes

Sorry, I did the patch manually in Phpstorm. Second chance.

martin_klima’s picture

Siegrist’s picture

Status: Needs review » Reviewed & tested by the community

Stumbled across this problem and #4 fixes the order perfectly! Thanks.

jsacksick’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks, not reverting the view in case customizations were made but at least it'll be fixed on new installs :p.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.