moodleou / moodle-mod_oublog

Alternative blog module for Moodle 2 (including course blogs)
31 stars 27 forks source link

Filters when using Separate individual blogs and Separate groups does not work when first used. #141

Open kiratskitizing opened 2 months ago

kiratskitizing commented 2 months ago

The filters for posts display does not work when first used.

STEPS TO REPLICATE

  1. Create a course.
  2. Enrol 4 students.
  3. Create 2 groups (group abc and group def) and ensure 2 students are members per group.
  4. Turn edit mode to On.
  5. Add an OUBLOG activity and use settings: Individual blogs: Separate individual blogs Group mode: Separate groups
  6. Log in as first student of group def.
  7. Access the blog and add your post.
  8. Log in as second student of group def.
  9. Access the blog and add your post.
  10. Log in as admin/teacher and visit the OUBLOG.
  11. The following filters are listed: Separate groups = All participants Separate individuals = View all users [All posts from the students are listed]
  12. Select def for the Separate groups.
  13. The page refreshes and nothing is displayed. Even though two students from def group posted already.
  14. Select the first student for the Separate individuals, while still Separate groups = def.
  15. The page refreshes and the post from the first student is displayed.
  16. Select View all users in group for Separate individuals, while still Separate groups = def
  17. The page refreshes and all post is now displayed.

To replicate the issue again, you need to log out as the admin/teacher and log in again.