cerpus / Edlib

Edlib is an application for creating, sharing, storing and using rich interactive learning resources.
https://docs.edlib.com
GNU General Public License v3.0
40 stars 7 forks source link

Language filter list in Explore is incorrect for logged in users #2688

Closed chrieinv closed 5 months ago

chrieinv commented 6 months ago

When not logged in the list is correct, displaying all the languages that have content. When logged in the options changes to display languages the user has content for, this should not be the case for Explore. The cause is in ContentFilter::getLanguageOptions() where the user is always passed in to ContentVersion::getTranslatedUsedLocales()