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

Add Sorting Functionality for Selection Parameters #1289

Closed
wants to merge 1 commit into from

Conversation

CpdnCristiano
Copy link

This change improves usability, especially when there are many devices or users, as finding specific entries becomes challenging without sorting options. With this functionality, Traccar users can quickly and easily locate devices or users in large lists.

@tananaev
Copy link
Member

I think sorting it on the server side probably makes more sense.

@CpdnCristiano
Copy link
Author

I can do this. Should I classify by default, or should I create a filter, for example: devices?sort=name?

@tananaev
Copy link
Member

It's probably fine to sort by default. This should be done through the database query.

@CpdnCristiano
Copy link
Author

I will implement sorting on all endpoints, and issue #1272 requested sorting of groups. Then, I will make a PR.

@tananaev
Copy link
Member

I would recommend starting with one endpoint, so we can review the implementation before applying it to everything.

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.

2 participants