'My Courses' should be corrected

whatif

I found that 'my courses' is not working as expected. When non-member click the menu 'my courses', 'my courses' shows all courses which this member does not belong to.

Investigating this bug, I found that the view for my courses should be corrected as following.

In filter criteria in the view of my courses, following should be added: OG membership: Entity_type (= user)

Thanks for this great LMS module.

Profile picture for user James Aparicio
James Aparicio

Hi whatif, What version of opigno are you using? You installed the distribution? Under the contextual filters, you should see og membership = current logged in user. Best regards
whatif

Hi James I am using Opigno LMS (opigno_lms-7.x-1.4) directly downloaded from opigno.org site. In the view of 'my courses', the Contextual filters is set as "OG membership: Entity id OG membership: Entity id". There is no "og membership = current logged in user" option in the 'Add' list of the Contextual filters. Best regards.
Profile picture for user James Aparicio
James Aparicio

Hi whatif, For "Og membership : Entity id" under when not in url, there is provide default value, where user id from logged user is an option. Best regards