Fixes api not filtering requests/all query when filtering #92

Merged
KevinMidboe merged 1 commits from api_filterBug into master 2018-03-20 12:17:17 +00:00
KevinMidboe commented 2018-03-20 12:15:08 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KevinMidboe/seasonedShows#92