Wrong sort used when sorting favorites by album name
Steps to reproduce
- Open the favorites page
- Sort by album name
What happens?
Favorites are sorted by creation date, in descending order. Changing the order has no effect.
What is expected?
Favorites are sorted by album name.
Context
Funkwhale version(s) affected: 0.20.1
Browser: Firefox 69
Taking a look at API requests with the network inspector, the endpoint is called like this : /api/v1/tracks/?favorites=true&page=1&page_size=25&ordering=album__title
(or -album__title
). So I guess it's more of a backend issue?