4 posts / 0 new
Last post
whatif
Offline
Last seen: 5 years 4 months ago
Joined: 02/07/2014
'My Courses' should be corrected

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.

James Aparicio
James Aparicio's picture
Offline
Last seen: 2 weeks 1 day ago
Staff
Joined: 10/30/2013
Hi whatif,

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
Offline
Last seen: 5 years 4 months ago
Joined: 02/07/2014
Hi James

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.

James Aparicio
James Aparicio's picture
Offline
Last seen: 2 weeks 1 day ago
Staff
Joined: 10/30/2013
Hi whatif,

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