-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix(folderadmin): Implement .sort() on file_qs when no order_by query param is set * fix(folderadmin): conditionally convert file_qs to list and sort if no query params are set * fix(folderadmin): use file_list when no query params are set, else use file_qs * Revert "fix(folderadmin): use file_list when no query params are set, else use file_qs" This reverts commit f34c560. * chore: revert style changes made by black * test: add tests for folderadmin sorting * refactor: use .annotate() and Coalesce to create a temporary sort field instead of using Python sort * chore: clean up flake8 errors * chore: clean up flake8 errors --------- Co-authored-by: Filip Weidemann <[email protected]>
- Loading branch information
1 parent
3940e1c
commit ac3985d
Showing
2 changed files
with
103 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters