LibriVox / librivox-catalog

LibriVox catalog and reader workflow application
https://librivox.org
MIT License
36 stars 17 forks source link

Fix Archive 'Read by' list not matching catalog #220

Closed redrun45 closed 2 months ago

redrun45 commented 2 months ago

Fixes #201. Per MC discussion, we want Archive pages to match the existing 'Read by' label on our catalog pages:

Along with this change, I've refactored get_project_readers and create_project_reader_list into get_solo_reader:

If you think it would be better to have the group vs solo check be in the model rather than the controllers, we could do that at the cost of a second (but quick) database query. Open to that, or other suggestions!