Project

General

Custom queries



Profile

Actions

Feature #35324

closed

Preload principal and roles in members#index

Added by Thomas Löber almost 4 years ago. Updated about 3 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
#1

Updated by Go MAEDA almost 4 years ago

  • Target version set to Candidate for next major release
#2

Updated by Go MAEDA almost 4 years ago

  • Target version changed from Candidate for next major release to 5.0.0
#3

Updated by Go MAEDA almost 4 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
#4

Updated by Go MAEDA about 3 years ago

  • Tracker changed from Patch to Feature
Actions

Also available in: Atom PDF