Moodle

New user no display in "recent activity"

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Component/s: Blocks
  • Labels:
    None
  • Environment:
    windows php 5.2.6 mysql 5.0 apache 2.0
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

When there is a new entry (Student) in Course, it is not possible see him in block "recent activity".

Activity

Hide
Petr Škoda (skodak) added a comment -

course members are not shown there, it would be relatively expensive, maybe in 2.0, sorry

Show
Petr Škoda (skodak) added a comment - course members are not shown there, it would be relatively expensive, maybe in 2.0, sorry
Hide
Roberto Pinna added a comment -

I think I found the bug.

In /moodle/lib/deprecatedlib.php in function get_recent_enrolments there is an error in query string:

AND ".sql_cast_char2int('l.info')." = u.id

should be

AND l.userid = u.id

Let me know what do you think about it.

Show
Roberto Pinna added a comment - I think I found the bug. In /moodle/lib/deprecatedlib.php in function get_recent_enrolments there is an error in query string: AND ".sql_cast_char2int('l.info')." = u.id should be AND l.userid = u.id Let me know what do you think about it.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: