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

🐛 Proposal List Sorting Incorrectly by Date and Time #2570

Open
kneerose opened this issue Dec 23, 2024 · 0 comments
Open

🐛 Proposal List Sorting Incorrectly by Date and Time #2570

kneerose opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar

Comments

@kneerose
Copy link
Contributor

kneerose commented Dec 23, 2024

Area

Proposal Pillar

Domain

gov.tools

Which wallet were you using?

No response

Context

When I click the sorting button, the proposals should be displayed in either ascending or descending order based on the creation date and time. However, the sorting does not function correctly. While some proposals are sorted by date, the time ordering is inconsistent, leading to incorrect results.

image

Steps to reproduce

  1. Navigate to the proposal page.
  2. Click on the sorting button.
  3. Check the proposal request from the network and view its response.
  4. Verify the createdAt timestamps in the response for each proposal.
  5. Specifically check proposals with IDs 38, 39, and 40.

Actual behavior

The proposals are not sorted correctly in the list. While the date sorting appears correct, the time sorting is inconsistent, causing the overall order to be incorrect.

Expected behavior

The proposals should be consistently sorted in either ascending or descending order based on both the date and time of creation.

Allure Report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar
Projects
Status: No status
Development

No branches or pull requests

2 participants