Project

General

Profile

Actions

Feature #35324

closed

Preload principal and roles in members#index

Added by Thomas Löber over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Hi,

MembersController#index should preload the principal and roles of the members.

When this data is not preloaded, iterating over the @members array in app/views/members/index.api.rsb causes a lot of database queries.

A patch is attached.

Thanks,
Thomas


Files

members_index_preload.diff (741 Bytes) members_index_preload.diff Thomas Löber, 2021-05-28 12:27
Actions

Also available in: Atom PDF