Skip to content

Reduce SQL calls to obtain course_user's recent achievements in leaderboard view #1007

Open
@weiqingtoh

Description

@weiqingtoh

Arising from #958 as well - since we need to get the 5 most recent achievement badges for each course_user, the current leaderboard view requires an SQL call for each course_user.

I suspect this might need us to use some manual preloader to do this, or maybe I'm wrong?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions