Fixes api not filtering requests/all query when filtering #92
Reference in New Issue
Block a user
Delete Branch "api_filterBug"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue:
api/v1/plex/requests/all returns all elements sorted DESC
api/v1/plex/requests/all?status=requested returns only requested elements BUT sorted ASC by default.
Fix:
When filtering the request on status the sql query for the db is now sorts DESC.
Other:
Corrected some linting issues.