Setting distinct to true breaks aggregation

Created on 12 April 2024, 2 months ago
Updated 27 April 2024, 2 months ago

Problem/Motivation

Inside the getOids() function, the following are both being set to true:

      $display->setOption('group_by', 1);
      $query_options['options']['distinct'] = TRUE;

but setting the query options distinct to true actually negates the group_by. These two lines are incompatible with each other.

Proposed resolution

Get rid of this line:

      $query_options['options']['distinct'] = TRUE;
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024