Project

General

Profile

Actions

Maintenance #2844

open

xmera Omnia - Collection #2548: Third-Party module maintenance

Maintenance #2337: Support RM 6.0

Change scope.count in queries

Added by liaham 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Compatible Redmine Version:
6.0.z

Description

A typical query pattern has changed from

scope = @query.results_scope
@entry_count = scope.count

to

@entry_count = @query.result_count

This pattern occours in:

  • redmine_project_types - project_types_controller.rb:43
  • redmine_dashboards - dashboards_controller.rb:60
  • redmine_periodictasks - periodictasks_controller.rb:18

No data to display

Actions

Also available in: Atom PDF