Skip to content

Commit

Permalink
Merge pull request #823 from Sefaria/community-diaspora-hotfix
Browse files Browse the repository at this point in the history
Fix #2 for community page when parasha diverges over diaspora/israel
  • Loading branch information
edamboritz authored May 2, 2022
2 parents 6998b93 + 5628ef6 commit b0841f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reader/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3853,7 +3853,7 @@ def community_page_data(request, language="english"):
from sefaria.model.user_profile import UserProfile

data = {
"community": get_community_page_items(language=language, diaspora=request.diaspora)
"community": get_community_page_items(language=language, diaspora=(request.interfaceLang != "hebrew"))
}
if request.user.is_authenticated:
profile = UserProfile(user_obj=request.user)
Expand Down

0 comments on commit b0841f6

Please sign in to comment.