Transaction listing appears out of order when created dates overlap

Created on 21 February 2023, almost 2 years ago

Problem/Motivation

When using a balance transactor, the entity listing page at /transaction/{transaction_type}/{target_entity_type}/{target_entity_id} lists the transactions out of order which creates a confusing order of events.

Steps to reproduce

* Create several transactions with the same created timestamp (We did it via a migration from the userpoints module)
* View the transaction listing page for the target entity.

Proposed resolution

Add an "order by" to the listing page query to sort by the transaction ID as a tie-breaker.

Remaining tasks

Create patch.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States merauluka

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @merauluka
  • @merauluka opened merge request.
Production build 0.71.5 2024