Skip to content

Conversation

@fmotaf
Copy link

@fmotaf fmotaf commented Jan 14, 2025

Currently, when dealing with tables that contain a lot of rows, it is quite difficult to find a specific line.
In order to solve this, I've made this PR to allow us to sort these rows.

sqladmin_gif

@SebastianSmolorz
Copy link

Looks like this will only sort the table in the frontend. This is a problem if you have more than one page of orders. I've found that sort and sortBy are respected URL parameters which change the query returned by /list. You'd have to rewrite this to refresh the page on you button click and append the query parameters.

@mmzeynalli
Copy link
Contributor

mmzeynalli commented Nov 25, 2025

@fmotaf could you generalize this and make it appliable for any field? Also, current code sorts only current page, you have to handle this on Python side

@fmotaf
Copy link
Author

fmotaf commented Nov 27, 2025

@mmzeynalli No problem, will do it by the weekend

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.

3 participants