Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.9, 2.0
-
Labels:None
-
Database:PostgreSQL
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
Description
If there are a sentence in a post of a student that are in a separate group, he can't to find it using the forum search, there are no results. (They are in same group)
The student can't find the same sentence that him wrote.
The following fix works for us:
/mod/forum/lib.php
function forum_get_readable_forums($userid, $courseid=0)
line: $forum->accessgroup = $group->id; // The user can only access
// discussions for this group.
should be replaced:
$forum->accessgroup = $group[$course->id]->id; // The user can only access
// discussions for this group.
Cheers,
Oksana