Skip to content

Fix: Import From Course in content bank not showing correct count for instructors - #2980

Open
Anindra123 wants to merge 1 commit into
devfrom
cb_fix
Open

Fix: Import From Course in content bank not showing correct count for instructors#2980
Anindra123 wants to merge 1 commit into
devfrom
cb_fix

Conversation

@Anindra123

Copy link
Copy Markdown
Collaborator

When importing courses data into content bank it shows the lesson count, quiz count and assignment count, but for instructors this count was showing wrong, since current_user_can( 'edit_tutor_course', course_id ) was returning false, as the meta capability was not getting mapped to a primitive properly, to fix this i have added a hook to properly map when the edit_tutor_course check is called.

https://app.clickup.com/t/9018365849/86eyjzj50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant