"Recent" columns on front page no longer display any results
Steps to reproduce
- Upgrade to the latest commit
- Navigate to the front page
What happens?
No results are displayed under the "Recently Listened", "Recently Favorited", or "Playlists" lists
What is expected?
Results should be returned for each
Context
Funkwhale version(s) affected: 0.20.0+git.668615a8
- Browser: Firefox, Chrome
- Instance Configuration: Docker multi-container, Nginx
Taking Favorites as an example, this is the call sent out when trying to pull back recent favorites:
GET https://<URL>/api/v1/favorites/tracks/?scope=user&ordering=-creation_date&page_size=5
The response is:
{"count":0,"next":null,"previous":null,"results":[]}
Removing the scope=user
from the GET
request brings back the correct number.
Probably caused by changes made in 668615a8