Skip to content

Commit

Permalink
fix: add missing variables to library_listing context (#31752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Feb 13, 2023
1 parent 2b872c7 commit 4ed8dde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cms/djangoapps/contentstore/views/course.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,9 @@ def library_listing(request):
'allow_course_reruns': settings.FEATURES.get('ALLOW_COURSE_RERUNS', True),
'rerun_creator_status': GlobalStaff().has_user(request.user),
'split_studio_home': split_library_view_on_dashboard(),
'active_tab': 'libraries'
'active_tab': 'libraries',
'allowed_organizations': get_allowed_organizations(request.user),
'can_create_organizations': user_can_create_organizations(request.user),
}
return render_to_response('index.html', data)

Expand Down

0 comments on commit 4ed8dde

Please sign in to comment.