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
Table, Database, & Schema APIs should support sorting by ID & name #635
Comments
can it be a simple KW supplied i.e Can I work on this? |
@bohemia420 Sure, I'll assign it to you. Thanks! The easiest thing would be to use This should apply to:
This issue doesn't cover adding filters to the columns API (e.g. |
…for Database, Schema, Table Filters to use (Property)OrderingFilter from django_(property)_filters
Hi @kgodey
and it seems to sort the entries by either the field i.e "id" or the property i.e "name" (for
For example, Which can easily be reached from the "Filters" Modal inside django API Have raised a PR #691 for the same.
|
Thanks @bohemia420. I'll review the PR. |
fixes #635; changes to api/filters.py for Database, Schema, Table Filters; (Property)OrderingFilter from django_(property)_filters
Created a new bug fix issue for the failing test cases that got merged along with PR related to this issue |
Problem
The table, database, and schema APIs don't currently support sorting results.
Proposed solution
All three APIs should support sorting by ID and name.
Additional context
We can use
django-filter
/django-property-filter
for this.The text was updated successfully, but these errors were encountered: