Skip to content

Fix: price column sorting in offers table#2455

Open
kanishka0411 wants to merge 1 commit intoRoboSats:mainfrom
kanishka0411:fix/price-column-sorting
Open

Fix: price column sorting in offers table#2455
kanishka0411 wants to merge 1 commit intoRoboSats:mainfrom
kanishka0411:fix/price-column-sorting

Conversation

@kanishka0411
Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes #2454

This PR introduces/refactors/...
Fixes price column sorting in the offers table. The displayed price was calculated on the fly but sorting used the raw field which was always null, so added a sort comparator that uses the actual calculated price.

Screen.Recording.2026-03-22.at.8.15.30.PM.mov

Checklist before merging

  • Install pre-commit and initialize it: pip install pre-commit, then pre-commit install. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: toggle for sorting by price doesn't work

1 participant