Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LCFS - BUG - Transaction ID Column Sorting Incorrect on BCeID and IDIR Transaction Pages #2069

Open
airinggov opened this issue Feb 21, 2025 · 0 comments
Labels
bug Something isn't working Medium Medium priority

Comments

@airinggov
Copy link
Collaborator

Describe the Bug:
The Transaction ID column does not sort correctly on both the BCeID and IDIR transaction pages. Instead of sorting numerically, the IDs are sorted as text, leading to incorrect sequences such as CR1, CR100, CR11 instead of CR1, CR11, CR100.

Expected Behaviour:

  • The Transaction ID column should be sorted numerically, ensuring IDs appear in proper sequential order.
  • Sorting should maintain grouping by prefix.

Actual Behaviour:

  • Sorting treats transaction IDs as text rather than numbers.
  • Incorrect sequences occur, such as CR1, CR100, CR11 instead of CR1, CR11, CR100.

Implications:

  • Users cannot efficiently locate or track transactions.
  • Sorting inconsistencies may lead to reporting errors or confusion.
  • The issue affects both BCeID and IDIR users, impacting multiple roles.

Steps To Reproduce:
User/Role: BCeID or IDIR

  1. Navigate to the Transactions page.
  2. Click on the Transaction ID column to apply sorting.
  3. Observe that IDs are not sorted numerically but as text (e.g., CR1, CR100, CR11).
  4. Verify that sorting fails to follow expected numeric order while maintaining grouping by prefix.

Notes:

  • Update sorting logic to recognize and sort numeric values correctly, even when prefixed (e.g., "CR").
  • Ensure sorting behaves correctly across different transaction ID formats.
  • Test sorting behavior across both ascending and descending orders.
  • Validate fix for both BCeID and IDIR transaction pages.
@airinggov airinggov added bug Something isn't working Medium Medium priority labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Medium Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant