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

Sort error after edit #2768

Open
raineorshine opened this issue Jan 11, 2025 · 0 comments
Open

Sort error after edit #2768

raineorshine opened this issue Jan 11, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@raineorshine
Copy link
Contributor

raineorshine commented Jan 11, 2025

Steps to Reproduce

- =sort
  - Alphabetical
    - Asc
- 1
- 2
  1. Edit 1 to 3.
  2. Toggle sort three times so that it clears the error and returns to sort/Alphabetical/Asc.

Current Behavior

  1. The context appears to be sorted correctly, but sort icon indicates an error.

  2. The sort order is incorrect:

- =sort
  - Alphabetical
    - Asc
- 3
- 2

Expected Behavior

  1. No error.
  2. The thoughts should be sorted in ascending order:
- =sort
  - Alphabetical
    - Asc
- 2
- 3

Testing

Add an appropriate test for each step (two tests total).

@raineorshine raineorshine added the bug Something isn't working label Jan 11, 2025
@raineorshine raineorshine added the preassigned I have someone in mind label Jan 19, 2025
@raineorshine raineorshine removed the preassigned I have someone in mind label Feb 6, 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
Projects
None yet
Development

No branches or pull requests

2 participants