Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • concrexit concrexit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • thaliathalia
  • concrexitconcrexit
  • Merge requests
  • !609

Optimize the activemembers admin

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tom van Bussel requested to merge fix/faster-activemembers-admin into master Oct 18, 2017
  • Overview 1
  • Commits 1
  • Changes 1

Closes no issue.

Short description

This MR makes the activemembers admin a lot faster by doing the following two things:

  1. Add member to raw_id_fields in the inline for committee memberships. Before the entire list of members was copied for every committee membership. This resulted in html pages of several megabytes.
  2. Remove duplicate queries (for different ids) by adding select_related calls in the right places.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/faster-activemembers-admin