Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14339 mymoodle meta cleanup
  3. MDL-11919

Mymoodle: forum overview doesn't work well with groups

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 1.8, 1.8.1, 1.8.2, 1.8.3
    • Forum
    • None
    • MOODLE_18_STABLE

      Not sure if this can be named a bug :-P This issue has to do with tracking forums and the information returned by forum module in this respect. This applies probably to all a.7, 1.8 and 1.9 branches. Not sure in 1.6.

      The current implementation in forum_print_overview() just takes care of the current group selected by the user in a course (get_current_group()). See the query at that function:


      // bla,bla,bla
      $sql .= '(d.forum = '.$track->id.' AND (d.groupid = 1 OR d.groupid = 0 OR d.groupid = '.get_current_group($track>course).')) OR ';


      User end up by having diferent number of unread messages in mymoodle and in course page depending on what get_current_group() returns.

      Perhaps the implementation should take care of several more things:

      . All the groups the user is member of
      . If she/he has the 'moodle/site:accessallgroups' capability in that context
      . Probably if he/she has the viewdiscussions capability in each forum context

      Thanks in advance

            Unassigned Unassigned
            jsegarra Juan Segarra Montesinos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.